Global catppuccin FZF style

This commit is contained in:
~erin 2023-03-31 09:56:38 -04:00
parent ccd1e6fc5c
commit b3021e9e5d
Signed by: erin
GPG Key ID: 9A8E308CEFA37A47
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function _fzf_wrapper --description "Prepares some environment variables before
# height=90% leaves space to see the current command and some scrollback, maintaining context of work
# preview-window=wrap wraps long lines in the preview window, making reading easier
# marker=* makes the multi-select marker more distinguishable from the pointer (since both default to >)
set --export FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker="*"'
set --export FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker="*" --color=bg+:#313244,spinner:#f5e0dc,hl:#f38ba8 --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc --color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8'
end
fzf $argv

View File

@ -1,3 +1,5 @@
function fssh
set --local -x FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker="*" --color=bg+:#313244,spinner:#f5e0dc,hl:#f38ba8 --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc --color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8'
ssh "$(rg '^Host\b' $HOME/.ssh/config | awk '{print $2}' | fzf)"
end