diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-03-04 01:17:58 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-03-04 01:17:58 +0100 |
| commit | ad7a214d01c42b9c784e5d2b79466ec25f56bd22 (patch) | |
| tree | 52457fedd2ed4f8e52c186602eef34203d49ea4a /runcoms | |
| parent | 8503727ab086d3e81f90abb7734b18c584ac08fd (diff) | |
Add arch support, update X settings
Diffstat (limited to 'runcoms')
| -rw-r--r-- | runcoms/zshrc | 12 |
1 files changed, 10 insertions, 2 deletions
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 |