Skip to content

Instantly share code, notes, and snippets.

@aramboyajyan
Created October 31, 2019 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aramboyajyan/99f51bb8a9f0d149ca8f9820af6db8d0 to your computer and use it in GitHub Desktop.
Save aramboyajyan/99f51bb8a9f0d149ca8f9820af6db8d0 to your computer and use it in GitHub Desktop.
Bash profile
# Run the updates.
alias update="sudo -- sh -c 'apt-get update; apt-get upgrade -y --allow-unauthenticated; apt-get dist-upgrade -y --allow-unauthenticated; apt-get autoremov$
# Colors!
if [ "$TERM" != "dumb" ]; then
[ -e "$HOME/.dir_colors" ] &&
DIR_COLORS="$HOME/.dir_colors" [ -e "$DIR_COLORS" ] ||
DIR_COLORS=""
eval "`dircolors -b $DIR_COLORS`"
alias ls='ls --color=auto'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment