diff options
author | EuAndreh <eu@euandre.org> | 2018-07-17 13:37:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-17 13:37:31 -0300 |
commit | edf3d7a6c27f240ea17f8d81ab58273e7f3d0f06 (patch) | |
tree | e96831c316a489e4e0b6fdbf827e3a9c8f4b531a /bash | |
parent | Add custom services in configuration.nix: Guix and mbsync (diff) | |
download | dotfiles-edf3d7a6c27f240ea17f8d81ab58273e7f3d0f06.tar.gz dotfiles-edf3d7a6c27f240ea17f8d81ab58273e7f3d0f06.tar.xz |
Add ps1 command
Useful for overriding nix-shell custom $PS1
Diffstat (limited to 'bash')
-rw-r--r-- | bash/aliases.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/aliases.sh b/bash/aliases.sh index f04d358..82781c4 100644 --- a/bash/aliases.sh +++ b/bash/aliases.sh @@ -26,6 +26,11 @@ alias mux="tmuxinator" } export -f ,u +MY_PS1="$PS1" +ps1() { + export PS1="$MY_PS1" +} + # git alias ,s="git status" alias ,d="git diff" |