dotfiles/.config/shell/aliases/common

29 lines
720 B
Plaintext
Raw Normal View History

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 \
2022-07-03 01:18:17 +02:00
bc="bc -ql" \
2022-05-27 21:07:07 +02:00
cp="cp -iv" \
2023-08-28 16:41:40 +02:00
df='df -h' \
e="${EDITOR:-vim}" \
2022-07-03 01:18:17 +02:00
ffmpeg="ffmpeg -hide_banner" \
2023-08-28 16:41:40 +02:00
free='free -m' \
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-08-28 16:41:40 +02:00
tmux='tmux -f ~/.config/tmux/tmux.conf'
2022-05-27 21:07:07 +02:00
# Misc
alias \
w='curl https://wttr.in/'
2022-06-08 10:21:13 +02:00
2023-08-28 16:41:40 +02:00
which codium >/dev/null && alias code=codium c=codium
which pacman >/dev/null && alias p=pacman
which zathura >/dev/null && alias z=zathura
which 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'"