diff options
author | EuAndreh <eu@euandre.org> | 2022-11-06 10:15:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-06 10:15:30 -0300 |
commit | 8d6aa327ba01b8551c4d23fb600bc578d6da2175 (patch) | |
tree | 3f6708e57a6f32d7b70e29c02f202d1d02defa62 /etc | |
parent | etc/sh/rc: Remove ~/.bashrc symlink (diff) | |
download | dotfiles-8d6aa327ba01b8551c4d23fb600bc578d6da2175.tar.gz dotfiles-8d6aa327ba01b8551c4d23fb600bc578d6da2175.tar.xz |
etc/sh/rc (PS1): Inline call to "vcs ps1"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sh/rc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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` $ ' |