Updated config

This commit is contained in:
Eduard Urbach 2025-05-28 16:39:25 +02:00
parent 90e01eaea4
commit 666fc20045
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
21 changed files with 155 additions and 199 deletions

View file

@ -3,6 +3,7 @@ if command -q git
alias g "git"
alias gc "git clone"
alias gd "git diff --ignore-space-at-eol"
alias gds "git diff --ignore-space-at-eol --compact-summary"
alias gl "git log --oneline"
alias gp "git pull"
alias gs "git status"
@ -11,6 +12,7 @@ if command -q git
alias h "home"
alias hs "home status"
alias hd "home diff --ignore-space-at-eol"
alias hds "home diff --ignore-space-at-eol --compact-summary"
alias hp "home pull"
end
@ -49,9 +51,8 @@ if command -q lsof
end
# Neovim
if command -q nvim
alias e "nvim"
alias n "nvim"
if command -q $EDITOR
alias e $EDITOR
end
# Pacman
@ -59,9 +60,9 @@ if command -q apk
alias p "apk"
alias pi "sudo apk add"
alias pr "sudo apk del"
alias pu "sudo apk update"
alias pu "sudo apk update && sudo apk upgrade"
alias pl "apk info"
alias powner "apk info --who-owns"
alias po "apk info --who-owns"
else if command -q pacman
alias p "pacman"
alias pi "sudo pacman -S"
@ -73,7 +74,7 @@ else if command -q pacman
alias paur "pacman -Qm"
alias pfiles "pacman -Ql"
alias porphan "pacman -Qtdq"
alias powner "pacman -Qo"
alias po "pacman -Qo"
end
# Sudo