mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
powerline-go: fix PROMPT_COMMAND duplicate in bash initialization (#7697)
This commit is contained in:
parent
768a7042a6
commit
20c7963471
2 changed files with 6 additions and 1 deletions
|
|
@ -26,5 +26,8 @@
|
|||
assertFileContains \
|
||||
home-files/.bashrc \
|
||||
'/bin/powerline-go -error $old_exit_status -shell bash -modules nix-shell -newline -path-aliases \~/project/foo=prj-foo -ignore-repos /home/me/project1,/home/me/project2'
|
||||
assertFileContains \
|
||||
home-files/.bashrc \
|
||||
'if [[ ";''${PROMPT_COMMAND:-};" != *";_update_ps1;"* ]]; then'
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue