reinit
This commit is contained in:
24
bash/.bashrc
Normal file
24
bash/.bashrc
Normal file
@@ -0,0 +1,24 @@
|
||||
PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
|
||||
# enable bash completion in interactive non-login shell
|
||||
if [ "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
fi
|
||||
|
||||
# colorful for bash
|
||||
alias ls="ls -F --color=auto"
|
||||
alias grep="grep --color=auto"
|
||||
|
||||
Profile_PATH=$HOME/My/profiles
|
||||
for i in $(ls $Profile_PATH/aliases); do
|
||||
. $Profile_PATH/aliases/$i
|
||||
done
|
||||
|
||||
# PATH
|
||||
PATH="$PATH:$HOME/bin/"
|
||||
PATH="$PATH:$HOME/go/bin/"
|
||||
PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
export PATH
|
||||
Reference in New Issue
Block a user