Skip to content

Instantly share code, notes, and snippets.

@nyuichi
Created April 25, 2012 11:38
Show Gist options
  • Save nyuichi/2489102 to your computer and use it in GitHub Desktop.
Save nyuichi/2489102 to your computer and use it in GitHub Desktop.
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [ "$PS1" ]; then
complete -cf sudo
fi
export PATH=$PATH:~/opt/leiningen
export EDITOR=nano
alias ls='ls -hX --color=auto'
alias la='ls -hXa'
alias ll='ls -hXl'
alias lla='la -hXl'
alias l='ls'
alias emacs='emacs -nw'
alias pacman='pacman-color'
function cl(){
if [ "$@" ]
then
cd "$@"
ls .
else
ls
fi
}
PS1='[\u@\h \W]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment