diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-11-06 21:23:17 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-11-06 21:23:17 +0100 |
commit | 7d8f5f273570ce8d42db1f8ca39a5c1500906371 (patch) | |
tree | 43f47a4f73f8b6fea3d08669450955dc20537d81 | |
parent | c983c6af4fc0fab858fc4968bb2b8b495a42d56a (diff) | |
download | dotfiles-7d8f5f273570ce8d42db1f8ca39a5c1500906371.tar.gz dotfiles-7d8f5f273570ce8d42db1f8ca39a5c1500906371.tar.xz dotfiles-7d8f5f273570ce8d42db1f8ca39a5c1500906371.zip |
Bash config: tweak cmd prompt: user prompt entry bold & cool
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r-- | .bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -84,7 +84,7 @@ PS1='\[\033[01;34m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\[\033[$( || { [ ${_ps_ret} -eq 0 ] && printf "1;34m\]" || printf "1;35m\]" printf "${_ps_lpar}${_ps_head}${_ps_type::1}%0.2x${_ps_rpar}" \ "${_ps_ret}"; } -)$\[\033[00m\] ' +)$\[\033[00;01m\] ' export ACK=ack test "$(ack --version | head -n1 | sed 's|^ack\s\([0-9]\+\).*|\1|')" -ge 2 \ @@ -197,6 +197,7 @@ preexec() { || { _preexec_flag=0; return 0; } _postexec_flag=1 _ps_type=$(type -t ${1%% *}) + printf '\033[00m' case "$1" in apropos\ *|\ colordiff\ *|\ |