[Fish] updates

This commit is contained in:
2025-08-31 00:14:44 +02:00
parent 8d944cbb3a
commit bd6f2cd612
5 changed files with 42 additions and 4 deletions

View File

@@ -5,4 +5,6 @@ function fish_user_key_bindings
bind -M default ctrl-e end-of-line
bind -M insert ctrl-space accept-autosuggestion
bind -M insert ctrl-g 'git diff' repaint
bind -M insert ctrl-o execute yazi
bind -M insert ctrl-l clear-screen ls repaint
end

View File

@@ -1,3 +1,3 @@
function sshf --description 'fzf select for ssh hosts'
ssh $(grep Host -w .ssh/config | awk '{print $2}' | fzf)
ssh $(grep Host -w ~/.ssh/config | awk '{print $2}' | fzf --preview="echo" --preview-border="none")
end

View File

@@ -1,3 +1,3 @@
function tuis --description 'fzf select tui'
eval (string split "\n" (cat ".dotfiles/tuis.txt") | fzf)
eval (string split "\n" (cat $HOME/.dotfiles/tuis.txt) | fzf)
end