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 b41051e68cc00a2ec3b88451c55e06bf956eee39
parent ae28d2a1f9181f332e21342ac84ae2bf2a79bb5b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 13 Oct 2019 08:22:40 +0200

Customize yash prompt

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

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