Merge branch 'patch-1' of https://github.com/Silent-Crafter/kitty
This commit is contained in:
commit
1b7582e85c
@ -5,7 +5,7 @@ _ksi_main() {
|
|||||||
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi
|
||||||
declare -A _ksi_prompt=( [cursor]='y' [title]='y' [mark]='y' [complete]='y' )
|
declare -A _ksi_prompt=( [cursor]='y' [title]='y' [mark]='y' [complete]='y' )
|
||||||
set -f
|
set -f
|
||||||
for i in ${KITTY_SHELL_INTEGRATION}; do
|
for i in ${KITTY_SHELL_INTEGRATION[@]}; do
|
||||||
set +f
|
set +f
|
||||||
if [[ "$i" == "no-cursor" ]]; then _ksi_prompt[cursor]='n'; fi
|
if [[ "$i" == "no-cursor" ]]; then _ksi_prompt[cursor]='n'; fi
|
||||||
if [[ "$i" == "no-title" ]]; then _ksi_prompt[title]='n'; fi
|
if [[ "$i" == "no-title" ]]; then _ksi_prompt[title]='n'; fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user