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

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