diff options
Diffstat (limited to '.config/fish/config.fish')
| -rw-r--r-- | .config/fish/config.fish | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index c727a72..3a4367f 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -3,32 +3,32 @@ # function set_envvars - # source bash profile - bash2env source "$HOME/.config/shell/profile" + # source bash profile + bash2env source "$HOME/.config/shell/profile" - # add user bin directory to path - if test -d "$HOME/.local/bin" - fish_add_path "$HOME/.local/bin" - end + # add user bin directory to path + if test -d "$HOME/.local/bin" + fish_add_path "$HOME/.local/bin" + end end function load_plugins - if not functions -q fisher - echo 'bootstrapping fisher' - curl -sL https://git.io/fisher | source && fisher update - end + if not functions -q fisher + echo 'bootstrapping fisher' + curl -sL https://git.io/fisher | source && fisher update + end - if command -q zoxide - zoxide init fish | source - end + if command -q zoxide + zoxide init fish | source + end - if command -q starship - starship init fish | source - end + if command -q starship + starship init fish | source + end end if status is-interactive - load_plugins + load_plugins else - set_envvars + set_envvars end |
