diff options
Diffstat (limited to 'etc/sh/rc')
-rw-r--r-- | etc/sh/rc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -245,7 +245,11 @@ in_ssh_session() { fi } -PS1='`error_marker`'$(timestamp)' '$(path)' `shell_status``vcs ps1``guix_env``in_nix_shell` +vcs_status() { + timeout 0.5 vcs ps1 || color -c red '❌' +} + +PS1='`error_marker`'$(timestamp)' '$(path)' `shell_status``vcs_status``guix_env``in_nix_shell` '$(in_ssh_session)'$ ' |