mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2024-12-29 05:18:11 +01:00
29 lines
767 B
Bash
29 lines
767 B
Bash
#!/bin/bash
|
|
|
|
# shellcheck disable=SC2139
|
|
# Verbosity and settings that you pretty much just always are going to want.
|
|
alias \
|
|
ls="ls --color=auto" \
|
|
bc="bc -ql" \
|
|
cp="cp -iv" \
|
|
df='df -h' \
|
|
e="${EDITOR:-vim}" \
|
|
ffmpeg="ffmpeg -hide_banner" \
|
|
free='free -m' \
|
|
g="git" \
|
|
ka="killall" \
|
|
mkd="mkdir -pv" \
|
|
mv="mv -iv" \
|
|
rm="rm -vI" \
|
|
shrd="shred -zuvn3" \
|
|
tmux='tmux -f ~/.config/tmux/tmux.conf'
|
|
|
|
# Misc
|
|
alias \
|
|
w='curl https://wttr.in/'
|
|
|
|
command -v codium >/dev/null && alias code=codium c=codium
|
|
command -v pacman >/dev/null && alias p=pacman
|
|
command -v zathura >/dev/null && alias z=zathura
|
|
command -v ranger >/dev/null && alias r=ranger
|
|
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"
|