citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 579038c6136fa9ca544485db912a2d71fbb2e717
parent 1f38cac682da68c0170b8012b7c34759431d5d2d
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 29 Dec 2020 15:12:17 -0800

fix prompt

Diffstat:
Mdotfiles/.bashrc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc @@ -6,9 +6,11 @@ set -o vi # If not running interactively, don't do anything [ -z "$PS1" ] && return -export PS1='$(printf "\n\033[30;1m%3.*s\033[0m$ \033[33m" $? $?)' +export PS1='$(printf "\x01\033[30;1m\x02%3.*s\x01\033[0m\x02> \x01\033[33m\x02" $? $?)' export PS0='\033[0m' +#export PS1='$(printf "\x01\033[30;1m\x02%3.*s\x01\033[0m\x02> " $? $?)' + # don't put duplicate lines in the history. See bash(1) for more options export HISTCONTROL=ignoredups # ... and ignore same sucessive entries.