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 ac626296f8e88849215e4c8d2f4e86d6607b39cd
parent 5002732f08b1a0f1049895f2e07fa39de3bffa73
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 14 Nov 2019 12:31:34 +0100

PS1 issues seem to exist entirely on linux

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

diff --git a/.kshrc b/.kshrc @@ -4,7 +4,7 @@ HISTSIZE=50000 set -o vi PS1="\h:\w \${?#0}\\$ " -if [ "$0" = "-mksh" ]; then +if [ "$(uname)" = "Linux" ]; then PS1="${HOSTNAME:=$(hostname)}:\${PWD/\/home\/$USER/\~} \\$ " fi export PS1