MJ_PS1_EXTRA

This commit is contained in:
Motiejus Jakštys 2024-06-07 20:53:33 +03:00
parent e77b23b745
commit 8a37f56311
1 changed files with 1 additions and 3 deletions

View File

@ -79,9 +79,7 @@
];
bash.initExtra = ''
hm_ps1_extra() {
if type -t mj_ps1_extra >/dev/null; then
mj_ps1_extra
fi
eval "''${MJ_PS1_EXTRA:-}"
}
export PS1=$(echo "$PS1" | sed 's;\\n;$(hm_ps1_extra);')
'';