diff --git a/.config/fish/conf.d/00-init.fish b/.config/fish/conf.d/00-init.fish new file mode 100644 index 0000000..494b8aa --- /dev/null +++ b/.config/fish/conf.d/00-init.fish @@ -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 diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 81d8419..7fe37e2 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,18 +1,5 @@ #!/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. if test -e "$HOME/.local.env" source "~/.local.env"