Created
March 28, 2011 16:16
-
-
Save ccopsey/890744 to your computer and use it in GitHub Desktop.
Terminal Resource Files
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
export PS1="\[\e[0;35m\]\!\[\e[m\]:\[\e[0;36m\]\u\[\e[m\]@\[\e[0;31m\]\h\[\e[m\]:\[\e[0;32m\]\w\[\e[m\]> " | |
alias cp="cp -i" | |
alias mv="mv -i" | |
alias rm="rm -i" | |
alias g="grep" | |
alias h="history" | |
alias l="ls -hltrp --color" | |
alias la="ls -halp --color" | |
alias ls="ls --color" |
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
if ( $?prompt ) then | |
set prompt = "%{\033[0;35m%}%h%{\033[0m%}:%{\033[0;34m%}%n%{\033[0m%}@%{\033[0;31m%}%m%{\033[0m%}:%{\033[0;32m%}%~%{\033[0m%}> | |
endif | |
alias cp 'cp -i' | |
alias mv 'mv -i' | |
alias rm 'rm -i' | |
alias g 'grep' | |
alias h 'history' | |
alias l 'ls -hltrp --color' | |
alias la 'ls -halp --color' | |
alias ls 'ls --color' | |
alias auth sudo tail -f /var/log/auth.log | |
alias deny sudo cat /var/log/denyhosts |
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
alias g="grep" | |
alias l="ls -Glp" | |
alias la="l -atr" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment