2022-05-27 21:07:07 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-08-28 16:41:40 +02:00
|
|
|
# shellcheck disable=SC2139
|
2022-05-27 21:07:07 +02:00
|
|
|
# Verbosity and settings that you pretty much just always are going to want.
|
|
|
|
alias \
|
2023-09-15 13:26:39 +02:00
|
|
|
ls="ls --color=auto" \
|
2022-07-03 01:18:17 +02:00
|
|
|
bc="bc -ql" \
|
2022-05-27 21:07:07 +02:00
|
|
|
cp="cp -iv" \
|
2023-11-15 17:38:50 +01:00
|
|
|
df="df -h" \
|
2023-08-28 16:41:40 +02:00
|
|
|
e="${EDITOR:-vim}" \
|
2022-07-03 01:18:17 +02:00
|
|
|
ffmpeg="ffmpeg -hide_banner" \
|
2023-11-15 17:38:50 +01:00
|
|
|
free="free -m" \
|
2023-08-28 16:41:40 +02:00
|
|
|
g="git" \
|
|
|
|
ka="killall" \
|
2022-07-03 01:18:17 +02:00
|
|
|
mkd="mkdir -pv" \
|
2022-05-27 21:07:07 +02:00
|
|
|
mv="mv -iv" \
|
|
|
|
rm="rm -vI" \
|
2022-07-03 01:18:17 +02:00
|
|
|
shrd="shred -zuvn3" \
|
2023-11-15 17:38:50 +01:00
|
|
|
tmux="tmux -f ~/.config/tmux/tmux.conf"
|
2022-05-27 21:07:07 +02:00
|
|
|
|
|
|
|
# Misc
|
|
|
|
alias \
|
2023-11-15 17:38:50 +01:00
|
|
|
w="curl https://wttr.in/"
|
2022-06-08 10:21:13 +02:00
|
|
|
|
2023-11-29 09:51:47 +01:00
|
|
|
alias code="code --password-store='gnome'"
|
|
|
|
if command -v codium >/dev/null; then
|
2023-12-12 07:02:26 +01:00
|
|
|
alias codium="codium --password-store='gnome'"
|
|
|
|
alias code="codium"
|
2023-11-29 09:51:47 +01:00
|
|
|
fi
|
|
|
|
alias c=code
|
2023-11-15 17:38:27 +01:00
|
|
|
|
2023-11-15 17:30:43 +01:00
|
|
|
command -v pacman >/dev/null && alias p=pacman
|
|
|
|
command -v zathura >/dev/null && alias z=zathura
|
|
|
|
command -v ranger >/dev/null && alias r=ranger
|
2022-09-07 16:38:31 +02:00
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"
|