alias cls='clear && l'
alias config="git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
alias startgui="sway 2> $HOME/sway.log"
alias tmp="cd $(mktemp -d)"
alias umnt='sudo umount /mnt -R'
alias vi="$EDITOR"
alias epitest="docker run -it --rm -v $PWD:/usr/app/ epitechcontent/epitest-docker:latest bash"

alias wconf="$EDITOR $HOME/.config/sway"
alias zshconf="$EDITOR $ZDOTDIR/.zshrc && . $ZDOTDIR/.zshrc"

alias ssh='TERM=linux ssh'

alias minecraft='DRI_PRIME=1 minecraft-launcher'

function fnalias() {
    $1 $(sed 's/--color=.\+/--color=force/' <<< "${@:2}")
}

alias sudo='sudo '
alias watch='fnalias watch -c '
alias xargs='xargs '
