Skip to content

Instantly share code, notes, and snippets.

@pce
Created June 12, 2013 07:58
Show Gist options
  • Select an option

  • Save pce/5763543 to your computer and use it in GitHub Desktop.

Select an option

Save pce/5763543 to your computer and use it in GitHub Desktop.
# ~/.bashrc: executed by bash(1) for non-login shells.
export PS1='\h:\w\$ '
umask 022
# colors
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
mkcd () {
mkdir -p "${1}" && cd "${1}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment