Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #.bashrc
- # Add bin to path
- export PATH="$PATH:/sbin:/usr/sbin:$HOME/bin"
- #export PATH="$PATH:$HOME/bin"
- # Dynamic resizing
- shopt -s checkwinsize
- # Custom prompt
- #PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- #08-29-06 11:40 gws
- if [ `id -un` = root ]; then
- PS1='\[\033[1;31m\]\h:\w\$\[\033[0m\] '
- else
- PS1='\[\033[1;32m\]\h:\w\$\[\033[0m\] '
- fi
- #
- # Add color
- eval `dircolors -b`
- # User defined aliases
- alias tpadon='killall syndaemon'
- alias tpadoff='syndaemon -i 2 -d'
- alias cls='clear'
- alias clls='clear; ls'
- alias ll='ls -l'
- alias lsa='ls -A'
- alias lsg='ls | grep'
- alias lsp='ls -1 /var/log/packages/ > package-list'
- alias na='nano'
- alias web='links -g -download-dir ~/ www.google.com'
- #08-29-06 11:50 gws
- #To clean up and cover your tracks once you log off
- #Depending on your version of BASH, you might have to use
- # the other form of this command
- trap "rm -f ~$LOGNAME/.bash_history" 0
- #The older KSH-style form
- # trap 0 rm -f ~$LOGNAME/.bash_history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement