Added bash folder
This commit is contained in:
29
bash/.bash_profile
Normal file
29
bash/.bash_profile
Normal file
@@ -0,0 +1,29 @@
|
||||
# console coloring for kool kids
|
||||
# thehermit is bold green 01;32m
|
||||
# coriakian is bold red 01;31m
|
||||
# farsight is bold cyan 01;36m
|
||||
# caspian is bold yellow 01;33m
|
||||
PS1='\[\033[01;36m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
|
||||
# if this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# impersonate a user
|
||||
alias user="su -ls /bin/bash"
|
||||
|
||||
alias v="ls -lA"
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
Reference in New Issue
Block a user