aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/sh/rc6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index d6a602f..95b0e2d 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -140,10 +140,6 @@ alias kal='khal calendar today `LANG=en.UTF-8 date +%A`'
# PS1
#
-repo_status() {
- vcs ps1
-}
-
error_marker() {
STATUS=$?
if [ "$STATUS" != 0 ]; then
@@ -224,7 +220,7 @@ in_nix_shell() {
fi
}
-PS1='`error_marker`'$(timestamp)' '$(path)' `shell_status``repo_status``guix_env``in_nix_shell`
+PS1='`error_marker`'$(timestamp)' '$(path)' `shell_status``vcs ps1``guix_env``in_nix_shell`
$ '