MJ_PS1_EXTRA
This commit is contained in:
parent
e77b23b745
commit
8a37f56311
@ -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);')
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user