reinit
This commit is contained in:
25
bash/.bashrc
Normal file
25
bash/.bashrc
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
if [ -f $Profile_PATH/shell/aliases.sh ]; then
|
||||
. $Profile_PATH/shell/aliases.sh
|
||||
fi
|
||||
|
||||
# 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