Skip to content
Snippets Groups Projects
Commit becd9b76 authored by nimrod's avatar nimrod
Browse files

Export PS0 and PS1 when the shell is Bash, otherwise the prompt in sh is broken.

parent 084d2592
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,6 @@ export HISTFILE="$HOME/.history"
export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=100000
export HISTFILESIZE=100000
export PS0="\$(__prerun)"
export PS1="\$(__prompt)\u@\h:\w\$ "
export REPREPRO_BASE_DIR="$HOME/Documents/Shore/debian-repository"
export EDITOR=vim
export GOPATH="$HOME/Documents/Golang"
......@@ -181,6 +179,8 @@ then
shopt -s histappend
shopt -s checkwinsize
shopt -s cmdhist
export PS0="\$(__prerun)"
export PS1="\$(__prompt)\u@\h:\w\$ "
export PROMPT_COMMAND="history -a"
[ -f /etc/bash_completion ] && . /etc/bash_completion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment