Freeze _ksi_prompt to prevent it from being edited

This commit is contained in:
Kovid Goyal 2022-01-14 22:35:37 +05:30
parent 8529a60d77
commit 4c5673dc4d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -122,3 +122,5 @@ _ksi_main() {
}
_ksi_main
unset -f _ksi_main
# freeze _ksi_prompt to prevent it from being changed
declare -r _ksi_prompt