first commit

This commit is contained in:
2021-08-29 00:01:43 +08:00
commit f8b093ee06
15 changed files with 3647 additions and 0 deletions

10
bash.bash_colben Normal file
View 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'!"
}