Updated config
This commit is contained in:
parent
8fcda55cbd
commit
0943589dd7
21 changed files with 155 additions and 199 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue