Much improved bash experience
This commit is contained in:
22
static/bash/bash.env
Normal file
22
static/bash/bash.env
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
if [ -d /fudo/etc ]; then
|
||||
FUDO_CONFIG=/fudo/etc
|
||||
fi
|
||||
|
||||
if [ -f $HOME/.bash_local ]; then
|
||||
. $HOME/.bash_local
|
||||
fi
|
||||
|
||||
if [ -f $HOME/.bash_env ]; then
|
||||
. $HOME/.bash_env
|
||||
fi
|
||||
|
||||
if [ -f $HOME/.bash_prompt ]; then
|
||||
. $HOME/.bash_prompt
|
||||
elif [ "${TERM}x" == "dumbx" ]; then
|
||||
export PS1="\u@\h:\w > "
|
||||
elif [ $( type -t __makePS1 ) ]; then
|
||||
export PROMPT_COMMAND=__makePS1
|
||||
else
|
||||
export PS1="\u@\h:\w > "
|
||||
fi
|
||||
Reference in New Issue
Block a user