From 8d6aa327ba01b8551c4d23fb600bc578d6da2175 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 6 Nov 2022 10:15:30 -0300 Subject: etc/sh/rc (PS1): Inline call to "vcs ps1" --- etc/sh/rc | 6 +----- 1 file changed, 1 insertion(+), 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` $ ' -- cgit v1.2.3