dot

packages and services management
Log | Files | Refs | README

commit 46c636ccbd50d15f25555138dbb095264f15318b
parent d89d707fdfef145497f755843bd17f6b607a1db5
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Wed, 28 Jun 2017 20:01:43 +0200

no glitch while changing user (without an ~/etc

Diffstat:
Mshell/.profile | 2++
Mshell/rc | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/shell/.profile b/shell/.profile @@ -13,3 +13,5 @@ export VISUAL='vi' export PAGER='less' export MANPAGER='less' export BROWSER='firefox' + +. "$ETC/shell/rc" diff --git a/shell/rc b/shell/rc @@ -1,7 +1,7 @@ PS1=' $( [ "$?" = 0 ] && printf "█" || printf "\033[31;1m█\033[m" -) $(hostname) $(pwd) $(git-status) +) $(hostname) $(pwd) $(type git-status > /dev/null 2>&1 && git-status) █ ' PS2='... ' PS3='... '