Last active
December 31, 2019 20:14
-
-
Save DennisLoska/90b0c24de76a315ec3e0fa1d280f0605 to your computer and use it in GitHub Desktop.
Some handy aliases for your bashrc/bash_aliases file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
based on https://github.com/LukeSmithxyz/voidrice/blob/master/.config/aliasrc
and inspired by @LukeSmithxyz , thanks!