dot

packages and services management
Log | Files | Refs | README

commit 3c78518c113684f1dcecdc38361ad9e8a00a455b
parent 4cd590b3f156453f42f26c5100961f1becc08909
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  1 Feb 2018 13:57:28 +0100

save a lot of power by _not_ running git at every command

Diffstat:
Mdot/profile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dot/profile b/dot/profile @@ -51,5 +51,5 @@ pgrep -x ssh-agent || { } export PS1='$([ "${?}" -gt 0 ] && printf "\033[31;1mx\033[m\n\r")' -export PS1="${PS1}$(printf '\033]0;%s\a' '${PWD} $(git-status)') +export PS1="${PS1}$(printf '\033]0;%s\a' '${PWD}') ${SSH_TTY:+$(uname -n)}$([ "$(whoami)" = 'root' ] && printf '#' || printf '$') "