🩹 fix(fish): Reset fish_user_paths on shell start

I am anal about the order of paths.
This commit is contained in:
punkfairie 2024-03-09 19:01:04 -08:00
parent 8eef9e2c58
commit bc3e3780b8
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
2 changed files with 14 additions and 13 deletions

View file

@ -0,0 +1,14 @@
#!/usr/bin/env fish
# Base path.
set -Ux fish_user_paths "$HOME/.local/bin"
# Projects dir.
set -gx HACK "$HOME/hackin"
# Editor.
set -gx EDITOR nvim
set -gx VISUAL "$EDITOR"
# Use vi key bindings.
set -g fish_key_bindings fish_vi_key_bindings

View file

@ -1,18 +1,5 @@
#!/usr/bin/env fish #!/usr/bin/env fish
# Base path.
fish_add_path /usr/local/bin "$HOME/bin"
# Projects dir.
set -gx HACK "$HOME/hackin"
# Editor.
set -gx EDITOR nvim
set -gx VISUAL "$EDITOR"
# Use vi key bindings.
set -g fish_key_bindings fish_vi_key_bindings
# Local environment variables. # Local environment variables.
if test -e "$HOME/.local.env" if test -e "$HOME/.local.env"
source "~/.local.env" source "~/.local.env"