mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
add(fish): source zoxide in fish
starship init has been moved too for consistency
This commit is contained in:
parent
3cd7ed6f6d
commit
1f97bc7493
6 changed files with 24 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue