add(fish): source zoxide in fish

starship init has been moved too for consistency
This commit is contained in:
Léana 江 2023-03-22 20:23:51 +01:00
parent 3cd7ed6f6d
commit 1f97bc7493
6 changed files with 24 additions and 8 deletions

View file

@ -1,10 +1,24 @@
if status is-interactive
# Commands to run in interactive sessions can go here
# Set editor
set -gx EDITOR nvim
# Set TTY for GPG
set -gx GPG_TTY (tty)
# Set fzf layout & theme
set -gx FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker=">"'
set -gx fzf_preview_file_cmd "bat --style=numbers --color=always --theme OneHalfLight"
# Set fd theme
set -gx LS_COLORS (vivid -m 24-bit generate one-light)
set -gx EDITOR nvim
# Source starship
starship init fish | source
# Source zoxide
zoxide init fish | source
end
# iTerm2 intergration
test -e {$HOME}/.iterm2_shell_integration.fish; and source {$HOME}/.iterm2_shell_integration.fish