mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
Sorted aliases
This commit is contained in:
parent
7dc48dfa8d
commit
a944732880
@ -3,12 +3,6 @@
|
|||||||
# Use neovim for vim if present
|
# Use neovim for vim if present
|
||||||
[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d"
|
[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d"
|
||||||
|
|
||||||
# doas not required for some system commands
|
|
||||||
for command in mount umount sv pacman updatedb su shutdown poweroff reboot zzz systemctl wg wg-quick; do
|
|
||||||
alias $command="doas $command"
|
|
||||||
done
|
|
||||||
unset command
|
|
||||||
|
|
||||||
# Vervosity and settings that you pretty much just always are going to wand
|
# Vervosity and settings that you pretty much just always are going to wand
|
||||||
alias \
|
alias \
|
||||||
bc="bc -ql" \
|
bc="bc -ql" \
|
||||||
@ -17,8 +11,8 @@ alias \
|
|||||||
mkdir="mkdir -pv" \
|
mkdir="mkdir -pv" \
|
||||||
mv="mv -iv" \
|
mv="mv -iv" \
|
||||||
nsxiv="nsxiv -a" \
|
nsxiv="nsxiv -a" \
|
||||||
rm="rm -vI"
|
rm="rm -vI" \
|
||||||
keychain="keychain --dir "$XDG_RUNTIME_DIR"/keychain"
|
keychain="keychain --dir "$XDG_RUNTIME_DIR"/keychain"
|
||||||
|
|
||||||
# Colorize commands when possible
|
# Colorize commands when possible
|
||||||
alias \
|
alias \
|
||||||
@ -48,9 +42,16 @@ alias \
|
|||||||
night="redshift -PO 4500" \
|
night="redshift -PO 4500" \
|
||||||
py="python" \
|
py="python" \
|
||||||
v="$EDITOR" \
|
v="$EDITOR" \
|
||||||
|
vpn-down="wg-quick down wg0" \
|
||||||
|
vpn-restart="wg-quick down wg0 && wg-quick up wg0" \
|
||||||
|
vpn-up="wg-quick up wg0" \
|
||||||
weather="curl wttr.in/" \
|
weather="curl wttr.in/" \
|
||||||
ww="$EDITOR ~/vimwiki/index.md" \
|
ww="$EDITOR ~/vimwiki/index.md" \
|
||||||
z="zathura" \
|
z="zathura" \
|
||||||
vpn-down="wg-quick down wg0" \
|
sv="rsv"
|
||||||
vpn-restart="wg-quick down wg0 && wg-quick up wg0" \
|
|
||||||
vpn-up="wg-quick up wg0"
|
# doas not required for some system commands
|
||||||
|
for command in mount umount rsv sv pacman updatedb su shutdown poweroff reboot zzz systemctl wg wg-quick; do
|
||||||
|
alias $command="doas $command"
|
||||||
|
done
|
||||||
|
unset command
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user