[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

@@ -15,6 +15,7 @@ set -g tuis
alias dmz="cat ~/.config/fish/dmz.txt"
alias matrix="~/projects/random-clones/matrix/matrix"
alias nmatrix="neo-matrix -DS 3"
# LLMs
alias codellamasrv=" ~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/codellama"
@@ -46,7 +47,7 @@ alias cdots="cd ~/.dotfiles/.config/"
alias cpnotes="cd ~/sync/PersonalNotes/"
abbr dots "cdots && nvim"
abbr pnotes "cpnotes && nvim"
abbr todo "cpnotes && nvim ToDo.md"
abbr todo "cpnotes && nvim ToDoNext.md"
abbr copy "wl-copy"
abbr img "kitten icat"
@@ -56,7 +57,8 @@ abbr mkdir "mkdir -p"
abbr faillock "sudo faillock --reset"
abbr ipadd "sudo ip route add 192.168.0.234 dev wg0"
abbr xremaps "sudo xremap ~/.config/xremap/config.yml"
abbr pacs "sudo pacman -Syu"
abbr pacs "sudo pacman -Syu --noconfirm"
abbr yays "yay --noconfirm --sudoloop"
abbr nmaps "sudo nmap -sn 192.168.0.0/24"
abbr scrcpyc 'scrcpy -wSK -m 1920 --window-borderless --always-on-top --power-off-on-close'
abbr scrcpys 'scrcpy -wS --power-off-on-close'

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