summaryrefslogtreecommitdiff
path: root/.config/fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/config.fish12
-rw-r--r--.config/fish/fish_plugins1
2 files changed, 8 insertions, 5 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 2f44895..c727a72 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -13,7 +13,7 @@ function set_envvars
end
function load_plugins
- if not test -f "$XDG_CONFIG_HOME/fish/functions/fisher.fish"
+ if not functions -q fisher
echo 'bootstrapping fisher'
curl -sL https://git.io/fisher | source && fisher update
end
@@ -21,10 +21,14 @@ function load_plugins
if command -q zoxide
zoxide init fish | source
end
+
+ if command -q starship
+ starship init fish | source
+ end
end
-if status is-login
- set_envvars
-else if status is-interactive
+if status is-interactive
load_plugins
+else
+ set_envvars
end
diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins
index 0f0f3c6..be95bfb 100644
--- a/.config/fish/fish_plugins
+++ b/.config/fish/fish_plugins
@@ -1,5 +1,4 @@
jorgebucaran/fisher
-jorgebucaran/hydro
ehfive/fish-bash2env
jorgebucaran/autopair.fish
nickeb96/puffer-fish