diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-14 12:43:41 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-14 12:43:41 -0400 |
| commit | 360b67ff756ef42e31e36a0fc1bf6a086382575e (patch) | |
| tree | 77fab6f4c62fad54b69463f4a19ccf6c34d82441 /.config/fish/config.fish | |
| parent | 04b911e4c93003712e492a5f2e9da10ae9d76430 (diff) | |
Check for devenv before adding the hook
Diffstat (limited to '.config/fish/config.fish')
| -rw-r--r-- | .config/fish/config.fish | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index c204c53..1821755 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,6 +1,10 @@ if status is-interactive - zoxide init fish | source - devenv hook fish | source + if type -f zoxide + zoxide init fish | source + end + if type -f devenv + devenv hook fish | source + end function mkcd --description "Make a directory and cd into it" mkdir -p $argv[1] |
