Merge branch 'docs' of https://github.com/page-down/kitty
This commit is contained in:
commit
66fe53ceb1
@ -72,6 +72,8 @@ no-cwd
|
|||||||
:ac:`new_window_with_cwd` and similar to open windows logged
|
:ac:`new_window_with_cwd` and similar to open windows logged
|
||||||
into remote machines using the :doc:`ssh kitten <kittens/ssh>`
|
into remote machines using the :doc:`ssh kitten <kittens/ssh>`
|
||||||
automatically with the same working directory as the current window.
|
automatically with the same working directory as the current window.
|
||||||
|
Note that for the ``fish`` shell this will not disable its built-in current
|
||||||
|
working directory reporting.
|
||||||
|
|
||||||
no-prompt-mark
|
no-prompt-mark
|
||||||
Turn off marking of prompts. This disables jumping to prompt, browsing
|
Turn off marking of prompts. This disables jumping to prompt, browsing
|
||||||
|
|||||||
@ -97,7 +97,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
|||||||
|
|
||||||
# Enable CWD reporting
|
# Enable CWD reporting
|
||||||
if not contains "no-cwd" $_ksi
|
if not contains "no-cwd" $_ksi
|
||||||
# This function name is from fish and will override the builtin one if fish enabled this feature by default.
|
# This function name is from fish and will override the builtin one, which is enabled by default for kitty in fish 3.5.0+.
|
||||||
# We provide this to ensure that fish 3.2.0 and above will work.
|
# We provide this to ensure that fish 3.2.0 and above will work.
|
||||||
# https://github.com/fish-shell/fish-shell/blob/3.2.0/share/functions/__fish_config_interactive.fish#L275
|
# https://github.com/fish-shell/fish-shell/blob/3.2.0/share/functions/__fish_config_interactive.fish#L275
|
||||||
function __update_cwd_osc --on-variable PWD -d "Report PWD changes to kitty"
|
function __update_cwd_osc --on-variable PWD -d "Report PWD changes to kitty"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user