mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
distro-specific aliases
This commit is contained in:
parent
c9f0d747a8
commit
cb6066c052
@ -30,12 +30,21 @@ alias \
|
||||
f="$FILE" \
|
||||
e="$EDITOR" \
|
||||
v="$EDITOR" \
|
||||
p="sudo pacman" \
|
||||
xi="sudo xbps-install" \
|
||||
xr="sudo xbps-remove -R" \
|
||||
xq="xbps-query" \
|
||||
z="zathura"
|
||||
|
||||
# distro-specific aliases
|
||||
# arch
|
||||
[ -x "$(command -v pacman)" ] &&
|
||||
alias \
|
||||
p="sudo pacman"
|
||||
|
||||
# void
|
||||
[ -x "$(command -v xbps)" ] &&
|
||||
alias \
|
||||
xi="sudo xbps-install" \
|
||||
xr="sudo xbps-remove -R" \
|
||||
xq="xbps-query"
|
||||
|
||||
alias \
|
||||
magit="nvim -c MagitOnly" \
|
||||
ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/zshnameddirrc" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user