[ADD] Common shell files
This commit is contained in:
parent
d9ca7787bb
commit
795042b616
4 changed files with 152 additions and 0 deletions
22
shell/.profile
Normal file
22
shell/.profile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Add our scripts to the path
|
||||
PATH="$HOME/scripts:$PATH"
|
||||
|
||||
# Export our favorite editor
|
||||
export EDITOR=vim
|
||||
export VISUAL=$EDITOR # Also use it when asking for a GUI
|
||||
|
||||
# Color ls output depending on filetype with dircolors
|
||||
[ -e "/etc/DIR_COLORS" ] && DIR_COLORS="/etc/DIR_COLORS"
|
||||
[ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors"
|
||||
[ -e "$DIR_COLORS" ] || DIR_COLORS=""
|
||||
eval "`dircolors -b $DIR_COLORS`"
|
||||
|
||||
# Allow for colorful man pages
|
||||
export LESS=-R
|
||||
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
||||
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
||||
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
|
||||
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
||||
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
||||
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||
Loading…
Add table
Add a link
Reference in a new issue