mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Merge branch 'patch-1' of https://github.com/Silent-Crafter/kitty
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user