[Fish] updates
This commit is contained in:
@@ -15,6 +15,7 @@ set -g tuis
|
|||||||
|
|
||||||
alias dmz="cat ~/.config/fish/dmz.txt"
|
alias dmz="cat ~/.config/fish/dmz.txt"
|
||||||
alias matrix="~/projects/random-clones/matrix/matrix"
|
alias matrix="~/projects/random-clones/matrix/matrix"
|
||||||
|
alias nmatrix="neo-matrix -DS 3"
|
||||||
|
|
||||||
# LLMs
|
# LLMs
|
||||||
alias codellamasrv=" ~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/codellama"
|
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/"
|
alias cpnotes="cd ~/sync/PersonalNotes/"
|
||||||
abbr dots "cdots && nvim"
|
abbr dots "cdots && nvim"
|
||||||
abbr pnotes "cpnotes && nvim"
|
abbr pnotes "cpnotes && nvim"
|
||||||
abbr todo "cpnotes && nvim ToDo.md"
|
abbr todo "cpnotes && nvim ToDoNext.md"
|
||||||
|
|
||||||
abbr copy "wl-copy"
|
abbr copy "wl-copy"
|
||||||
abbr img "kitten icat"
|
abbr img "kitten icat"
|
||||||
@@ -56,7 +57,8 @@ abbr mkdir "mkdir -p"
|
|||||||
abbr faillock "sudo faillock --reset"
|
abbr faillock "sudo faillock --reset"
|
||||||
abbr ipadd "sudo ip route add 192.168.0.234 dev wg0"
|
abbr ipadd "sudo ip route add 192.168.0.234 dev wg0"
|
||||||
abbr xremaps "sudo xremap ~/.config/xremap/config.yml"
|
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 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 scrcpyc 'scrcpy -wSK -m 1920 --window-borderless --always-on-top --power-off-on-close'
|
||||||
abbr scrcpys 'scrcpy -wS --power-off-on-close'
|
abbr scrcpys 'scrcpy -wS --power-off-on-close'
|
||||||
|
@@ -5,4 +5,6 @@ function fish_user_key_bindings
|
|||||||
bind -M default ctrl-e end-of-line
|
bind -M default ctrl-e end-of-line
|
||||||
bind -M insert ctrl-space accept-autosuggestion
|
bind -M insert ctrl-space accept-autosuggestion
|
||||||
bind -M insert ctrl-g 'git diff' repaint
|
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
|
end
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
function sshf --description 'fzf select for ssh hosts'
|
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
|
end
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
function tuis --description 'fzf select tui'
|
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
|
end
|
||||||
|
Reference in New Issue
Block a user