Updated config
This commit is contained in:
parent
c0fe9218c6
commit
23b497b32c
14 changed files with 77 additions and 29 deletions
|
@ -56,6 +56,7 @@ alias po "pacman -Qo"
|
|||
alias pe "pacman -Qe"
|
||||
alias pc "sudo pacman -Sc"
|
||||
alias paur "pacman -Qm"
|
||||
alias pfiles "pacman -Ql"
|
||||
alias porphan "pacman -Qtdq"
|
||||
|
||||
# Systemctl
|
||||
|
@ -80,7 +81,7 @@ alias bios "systemctl reboot --firmware-setup"
|
|||
alias cfg "config"
|
||||
alias cls "clear"
|
||||
alias debug "blinkenlights"
|
||||
alias disasm "ndisasm -b 64 -e 176"
|
||||
alias disasm "ndisasm -b 64 -e 4096"
|
||||
alias ff "fastfetch"
|
||||
alias hex "hexdump -C"
|
||||
alias log "journalctl"
|
||||
|
|
8
.config/fish/functions/f.fish
Normal file
8
.config/fish/functions/f.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
function f
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue