MJ_PS1_EXTRA
This commit is contained in:
parent
e77b23b745
commit
8a37f56311
@ -79,9 +79,7 @@
|
|||||||
];
|
];
|
||||||
bash.initExtra = ''
|
bash.initExtra = ''
|
||||||
hm_ps1_extra() {
|
hm_ps1_extra() {
|
||||||
if type -t mj_ps1_extra >/dev/null; then
|
eval "''${MJ_PS1_EXTRA:-}"
|
||||||
mj_ps1_extra
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
export PS1=$(echo "$PS1" | sed 's;\\n;$(hm_ps1_extra);')
|
export PS1=$(echo "$PS1" | sed 's;\\n;$(hm_ps1_extra);')
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user