diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-27 21:35:03 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-27 21:35:03 +0100 |
commit | 860d096ad7ea024124ec6926a6968d25db59c2d2 (patch) | |
tree | be6749b0582958c7de90339ae240bc8c0f2ba138 /Common/bashrc.m4 | |
parent | 966eeda6a0a29459e5a308da1f2578b33ceacfc3 (diff) | |
download | dotfiles-860d096ad7ea024124ec6926a6968d25db59c2d2.tar.gz dotfiles-860d096ad7ea024124ec6926a6968d25db59c2d2.zip |
Some small tweaks
Diffstat (limited to 'Common/bashrc.m4')
-rw-r--r-- | Common/bashrc.m4 | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Common/bashrc.m4 b/Common/bashrc.m4 index b1d8c67..54e287b 100644 --- a/Common/bashrc.m4 +++ b/Common/bashrc.m4 @@ -49,17 +49,8 @@ shopt -s checkwinsize # match all files and zero or more directories and subdirectories. #shopt -s globstar -# set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm-color|*-256color) color_prompt=yes;; -esac - -if [ "$color_prompt" = yes ]; then - PS1='\[\033[01;34m\]\w\[\033[00m\]\$ ' -else - PS1='\w\$ ' -fi -unset color_prompt +# Prompt +PS1='\w\$ ' # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then |