Skip to content

Instantly share code, notes, and snippets.

@ryo1kato
Created January 3, 2014 14:27
Show Gist options
  • Select an option

  • Save ryo1kato/8238679 to your computer and use it in GitHub Desktop.

Select an option

Save ryo1kato/8238679 to your computer and use it in GitHub Desktop.
My minimal .bashrc file for new environment.
. /etc/skel/.bashrc
set -o noclobber
PS1='$ '
######## aliases #######
if type lv >/dev/null 2>&1
then
alias lv=less
fi
# alias ls='ls -F --color' # this is default in /etc/skel for most distro
alias ll='ls -l'
alias la='ls -A'
aliasl lla='ls -lA'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment