diff options
| author | seth <[email protected]> | 2022-08-02 05:07:11 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-04 04:41:05 -0400 |
| commit | 12527d71ea8b0921b910afa6bcd5fc6adf9649eb (patch) | |
| tree | 4f03e53496da4ae0401cc1fd1c51eb8387a54be5 /.config/fish | |
| parent | bd06652d62ccae12d2eb2e60a0120b767ba062a7 (diff) | |
start using lua :)
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/config.fish | 9 | ||||
| -rw-r--r-- | .config/fish/fish_plugins | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index d3a8372..45cca36 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -4,6 +4,7 @@ function set_envvars + # add user bin directory to path if test -d "$HOME/.local/bin" fish_add_path "$HOME/.local/bin" end @@ -25,6 +26,9 @@ function set_envvars # paths set -gx CARGO_HOME "$XDG_DATA_HOME/cargo" + if test -d "$CARGO_HOME" + fish_add_path "$CARGO_HOME/bin" + end set -gx RUSTUP_HOME "$XDG_DATA_HOME/rustup" set -gx LESSHISTFILE "$XDG_STATE_HOME/less/history" set -gx NPM_CONFIG_USERCONFIG "$XDG_CONFIG_HOME/npm/npmrc" @@ -33,11 +37,14 @@ end function load_plugins #starship init fish | source + if not test -f "$XDG_CONFIG_HOME/fish/functions/fisher.fish" + echo 'bootstrapping fisher' + curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher + end end if status is-login set_envvars - load_plugins else if status is-interactive load_plugins end diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins new file mode 100644 index 0000000..f3407ae --- /dev/null +++ b/.config/fish/fish_plugins @@ -0,0 +1,4 @@ +jorgebucaran/fisher +jorgebucaran/hydro +laughedelic/fish_logo +andreiborisov/sponge |
