From ad7a214d01c42b9c784e5d2b79466ec25f56bd22 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sat, 4 Mar 2023 01:17:58 +0100 Subject: Add arch support, update X settings --- runcoms/zshrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'runcoms') diff --git a/runcoms/zshrc b/runcoms/zshrc index ea7d522..808616a 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -88,12 +88,20 @@ fi if [[ -s "/opt/homebrew/bin/brew" ]]; then . /opt/homebrew/etc/profile.d/z.sh else - . /usr/local/etc/profile.d/z.sh + if [[ -s "/usr/share/z/z.sh" ]]; then + . /usr/share/z/z.sh + else + . /usr/local/etc/profile.d/z.sh + fi fi # ASDF if ! command -v brew &> /dev/null; then - . $HOME/.asdf/asdf.sh + if [[ -s "/opt/asdf-vm/asdf.sh" ]]; then + . /opt/asdf-vm/asdf.sh + else + . $HOME/.asdf/asdf.sh + fi else . $(brew --prefix asdf)/asdf.sh fi -- cgit