summaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorseth <[email protected]>2022-11-16 20:22:10 -0500
committerseth <[email protected]>2022-11-16 20:22:10 -0500
commitec625679986252986af154d9f0f7125881308338 (patch)
tree0babf95069bd29634e4e76588b255493401e9f86 /.config/fish/config.fish
parenta1b2b3cb5840e08a851cec662ebcfa699cfbfa98 (diff)
meow
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish36
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