#!/bin/bash

# shellcheck disable=SC2139
# Verbosity and settings that you pretty much just always are going to want.
alias \
    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/'

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
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"