diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2024-01-14 15:19:14 +0000 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2024-01-14 15:19:14 +0000 |
| commit | bb290191df028ee5cd02abbce6d1a786e454c7b7 (patch) | |
| tree | 7b54de84cbb310f5f70632f2f945e52d42adbc07 /runcoms/zshrc | |
| parent | 634aae63eb062da5abc4f8cccb46944b2ee8db3e (diff) | |
Update for dnf support
Diffstat (limited to 'runcoms/zshrc')
| -rw-r--r-- | runcoms/zshrc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/runcoms/zshrc b/runcoms/zshrc index 8df1b05..3b61e08 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -82,10 +82,14 @@ fi if [[ -s "/opt/homebrew/bin/brew" ]]; then . /opt/homebrew/etc/profile.d/z.sh else - if [[ -s "/usr/share/z/z.sh" ]]; then - . /usr/share/z/z.sh + if [[ -s "/usr/libexec/z.sh" ]]; then + . /usr/libexec/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 fi |