dot

packages and services management
Log | Files | Refs | README

commit e591c36b261ddde6a73304b05ce57096ebd888a0
parent 982493f6de905d3a44c5fdd5549da7eb27705d0e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  8 Jul 2018 23:49:32 +0000

ubiquitous shell prompt

Diffstat:
Mdot/profile | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dot/profile b/dot/profile @@ -32,7 +32,4 @@ export SSH_AUTH_SOCK=$HOME/.ssh/agent # Prompt -export PS1='$(test $? = 0 || printf "\\033[1;31mx\\033[m\n\r")' -export PS1=$PS1$(printf '\033];$PWD\a\n'; uname -n) -export PS1=$PS1$(test "$(whoami)" = root && echo '#' || echo '$') -export PS1=$PS1' ' +export PS1=$(uname -n)$(test "$(whoami)" = root && echo '#' || echo '$')' '