Updated config

This commit is contained in:
Eduard Urbach 2025-01-20 13:47:32 +01:00
parent c0fe9218c6
commit 23b497b32c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
14 changed files with 77 additions and 29 deletions

View file

@ -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"

View 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