Skip to content

Instantly share code, notes, and snippets.

@DennisLoska
Last active December 31, 2019 20:14
Show Gist options
  • Save DennisLoska/90b0c24de76a315ec3e0fa1d280f0605 to your computer and use it in GitHub Desktop.
Save DennisLoska/90b0c24de76a315ec3e0fa1d280f0605 to your computer and use it in GitHub Desktop.
Some handy aliases for your bashrc/bash_aliases file.
# Verbosity and settings that you pretty much just always are going to want.
alias \
cp="cp -iv" \
mv="mv -iv" \
rm="rm -v" \
mkd="mkdir -pv" \
r="ranger" \
c="clear" \
yt="youtube-dl --add-metadata -i" \
yta="yt -x -f bestaudio/best" \
g="git" \
gc="git commit -a -m" \
gs="git status" \
gr="git remote" \
d="cd /home/$USER/Desktop" \
up="sudo apt update && sudo apt upgrade -y"
# Colorize commands when possible.
alias \
ls="ls -hN --color=auto --group-directories-first" \
grep="grep --color=auto" \
diff="diff --color=auto" \
ccat="highlight --out-format=ansi"
@DennisLoska
Copy link
Author

DennisLoska commented Dec 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment