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 8cb8bb4f4cf5fed20c328682935a47a9f7ab7c3e
parent ee3a2b19ca77f6ffb51421edce28b5035c62bd30
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 21 Sep 2020 15:34:59 +0200

.kshrc: only use backslash variables for PS1 on OpenBSD

Diffstat:
M.kshrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.kshrc b/.kshrc @@ -6,7 +6,7 @@ HISTSIZE=50000 set -o vi case "$0" in -*ksh) +-ksh) PS1='\u@\h:\w ${?#0}$ ';; *sh) PS1='${USER}@${HOSTNAME:=$(hostname)}:${PWD} ${?#0}$ ';;