trying hm_ps1_extra

This commit is contained in:
Motiejus Jakštys 2024-06-07 20:45:43 +03:00
parent 721453a401
commit e77b23b745

View File

@ -77,6 +77,14 @@
{id = "mdkgfdijbhbcbajcdlebbodoppgnmhab";} # GoLinks {id = "mdkgfdijbhbcbajcdlebbodoppgnmhab";} # GoLinks
{id = "kgjfgplpablkjnlkjmjdecgdpfankdle";} # Zoom {id = "kgjfgplpablkjnlkjmjdecgdpfankdle";} # Zoom
]; ];
bash.initExtra = ''
hm_ps1_extra() {
if type -t mj_ps1_extra >/dev/null; then
mj_ps1_extra
fi
}
export PS1=$(echo "$PS1" | sed 's;\\n;$(hm_ps1_extra);')
'';
}; };
}; };
} }