mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
do not run powerline on tty
This commit is contained in:
parent
4532b95ecc
commit
538e6e5cf1
1 changed files with 1 additions and 1 deletions
|
@ -93,6 +93,6 @@ in
|
|||
function _update_ps1() {
|
||||
PS1="\n$(${pkgs.powerline-go}/bin/powerline-go ${lib.concatStringsSep " " powerlineOpts})$ "
|
||||
}
|
||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
[ "$TERM" = "linux" ] || PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue