first commit
This commit is contained in:
10
bash.bash_colben
Normal file
10
bash.bash_colben
Normal file
@@ -0,0 +1,10 @@
|
||||
export PS1='\[\e[36;1;1m\][\u@\h:\[\e[36;1;2m\]\w\[\e[0m\]\[\e[36;1;1m\]] \[\e[0m\]'
|
||||
export PS2='\[\e[36;1;1m\]>> \[\e[0m\]'
|
||||
export HISTCONTROL=ignoredups
|
||||
export HISTTIMEFORMAT='[%d %R] '
|
||||
alias ls='ls --color=auto'
|
||||
function gopath {
|
||||
cd ${1-$PWD} || return $?
|
||||
[ -d src ] && export GOPATH="$PWD" && echo "GOPATH: $PWD" && return 0
|
||||
echo "Not found 'src/' directory under '$PWD'!"
|
||||
}
|
Reference in New Issue
Block a user