Created
April 25, 2012 11:38
-
-
Save nyuichi/2489102 to your computer and use it in GitHub Desktop.
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
# | |
# ~/.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