dotfiles

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

commit 38ddb5548669c84f04868453f14c9a5afa64077e
parent f139fda08921093a10e9b3521bf7640c9223165f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 26 Jan 2021 15:56:13 +0100

.kshrc: use same PS1 with ksh(1) and oksh(1)

Diffstat:
M.kshrc | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.kshrc b/.kshrc @@ -5,9 +5,6 @@ HISTSIZE=50000 set -o vi -PS1='${USER}@${HOSTNAME:=$(hostname)}:${PWD} ${?#0}$ ' -[ "$(uname)" = "OpenBSD" ] && case "$0" in -*ksh) - PS1='\u@\h:\w ${?#0}$ ';; -esac +PS1='\u@\h:\w ${?#0}$ ' +#PS1='${USER}@${HOSTNAME:=$(hostname)}:${PWD} ${?#0}$ ' export PS1