mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
Updated aliases
This commit is contained in:
parent
21ad7bec66
commit
1d4dd68a6a
@ -3,11 +3,11 @@
|
|||||||
# 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
|
# 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
|
for command in mount umount sv pacman updatedb su shutdown poweroff reboot zzz systemctl wg wg-quick; do
|
||||||
alias $command="doas $command"
|
alias $command="doas $command"
|
||||||
done; unset 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 \
|
||||||
@ -18,15 +18,17 @@ alias \
|
|||||||
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"
|
||||||
|
|
||||||
# Colorize commands when possible
|
# Colorize commands when possible
|
||||||
alias \
|
alias \
|
||||||
diff="diff --color=auto" \
|
diff="diff --color=auto" \
|
||||||
grep="rg --color=auto" \
|
grep="rg --color=auto" \
|
||||||
ip="ip -color=auto" \
|
ip="ip -color=auto" \
|
||||||
|
less="moar" \
|
||||||
ls="exa -a --icons --group-directories-first"
|
ls="exa -a --icons --group-directories-first"
|
||||||
|
|
||||||
# These common commands ate just too long! Abbriviate them
|
# These common commands ate just too long! Abbreviate them
|
||||||
alias \
|
alias \
|
||||||
battery="acpi" \
|
battery="acpi" \
|
||||||
code="vscodium" \
|
code="vscodium" \
|
||||||
@ -40,7 +42,7 @@ alias \
|
|||||||
gd="git diff" \
|
gd="git diff" \
|
||||||
gp="git pull" \
|
gp="git pull" \
|
||||||
gs="git status" \
|
gs="git status" \
|
||||||
lf="lfrun" \
|
lf="lfub" \
|
||||||
lg="lazygit" \
|
lg="lazygit" \
|
||||||
matrix="unimatrix -s 95" \
|
matrix="unimatrix -s 95" \
|
||||||
night="redshift -PO 4500" \
|
night="redshift -PO 4500" \
|
||||||
@ -48,5 +50,7 @@ alias \
|
|||||||
v="$EDITOR" \
|
v="$EDITOR" \
|
||||||
weather="curl wttr.in/" \
|
weather="curl wttr.in/" \
|
||||||
ww="$EDITOR ~/vimwiki/index.md" \
|
ww="$EDITOR ~/vimwiki/index.md" \
|
||||||
z="zathura"
|
z="zathura" \
|
||||||
lf="lfub" \
|
vpn-down="wg-quick down wg0" \
|
||||||
|
vpn-restart="wg-quick down wg0 && wg-quick up wg0" \
|
||||||
|
vpn-up="wg-quick up wg0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user