~/.shrc - user specific settings
/etc/profile - global settings
Color Prompt: display hostname in green color for shell prompt (read more here):
# vi ^[: ctrl+v and then Esc #PS1="^[[32m$^[[0m " PS1="^[[1;32m`whoami`@\h ^[[34m\W ^[[0m$ "List directories in color:
alias ls='ls -G'Color case insensitive grep:
export GREP_OPTIONS='-i --color=auto'
No comments :
Post a Comment