dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8c6575ddcf41d9476afddc8238a95f72834c16b4
parent 1228ff5748caca99e4657150e722765fafa272d2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 25 Oct 2019 10:27:59 +0200

Update PWD display in yash prompt

Diffstat:
M.yashrc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.yashrc b/.yashrc @@ -69,9 +69,9 @@ fi # directory, last exit status (only if non-zero), and $SHLVL (only if # non-one). YASH_PS1=$_uc'${LOGNAME}'$_hc'@${HOSTNAME%%.*}\fd. '\ -'${{?:/0/}:+\\fr.$?\\fd. }${{SHLVL-0}:/1}\$ ' +'\fb.${${${PWD:/~/\~}/$HOME/\~}:-$PWD}\fd. ${{?:/0/}:+\\fr.$?\\fd. }${{SHLVL-0}:/1}\$ ' #YASH_PS1R='\fc.${_vcs_info}' -YASH_PS1R='\fb.${PWD}' +#YASH_PS1R='\fb.${PWD}' YASH_PS1S='\fo.' YASH_PS2=$_2c'> ' #YASH_PS2R=