Commit Graph
7527 Commits
Author SHA1 Message Date
Kovid Goyal aa739cdfd4 Add shell_prompt_marking to client 2021-08-18 10:06:09 +05:30
Kovid Goyal 35c608ae77 Dont add wrap markers (\r) when showing last command output 2021-08-18 10:06:09 +05:30
Kovid Goyal 8d8095a2d1 Migrate an action spec to the new syntax 2021-08-18 10:06:09 +05:30
Kovid Goyal 1740821bb4 Move changelog entry into correct place 2021-08-18 10:06:09 +05:30
Kovid Goyal 4cd6829657 forgot to geenrate update opts 2021-08-18 10:06:09 +05:30
Kovid Goyal ef76c075e0 Get rid of bits from CellAttrs 2021-08-18 10:06:08 +05:30
Kovid Goyal b260a61c8f Get rid of bits from LineAttrs 2021-08-18 10:06:08 +05:30
Kovid Goyal 780e526143 Use a union for cell attributes
Cleaner code, no performance impact
2021-08-18 10:06:08 +05:30
Kovid Goyal 1e0269faa2 Fix sourcing of shell integration changing $? on bash/zsh 2021-08-18 10:06:08 +05:30
Kovid Goyal 73465aa44b Change the shortcuts to z and x for jumping to prompts 2021-08-18 10:06:08 +05:30
Kovid Goyal 1f5fa03015 Use a union for line attrs
Allows faster construction of Line objects without needing to set
individual booleans. And cleaner code.
2021-08-18 10:06:08 +05:30
Kovid Goyal 000e1012c6 Option for packagers to easily tune shell integration 2021-08-18 10:06:08 +05:30
Kovid Goyal afc5821809 Note when shell integration was added to kitty 2021-08-18 10:06:08 +05:30
Kovid Goyal e8832a86bb Fix scroll_to_prompt for prompts that have been reflowed over multiple lines 2021-08-18 10:06:08 +05:30
Kovid Goyal f61b8608de Fix mouse click event using current mouse co-ords rather than the co-ords at the time of the click 2021-08-18 10:06:08 +05:30
Kovid Goyal 92f428b6d1 common prefix should not apply to basename 2021-08-18 10:06:08 +05:30
Kovid Goyal 8795bf8cf9 various fixed for completion
- Fix completion of --directory
- Dont remove common prefix unless it contains path separator
- Dont show suggestions for options on new words
2021-08-18 10:06:08 +05:30
Kovid Goyal 0dee0bfada zsh completion: Dont remove prefix when only a single item is present in the group 2021-08-18 10:06:07 +05:30
Kovid Goyal 482d3bb913 Better integrate shell integration into sidebar toc 2021-08-18 10:06:07 +05:30
Kovid Goyal 48035977e3 Style details summary as a link 2021-08-18 10:06:07 +05:30
Kovid Goyal 6b23921880 Document the new shell integration features 2021-08-18 10:06:07 +05:30
Kovid Goyal c98e4eb478 Start documenting shell integration 2021-08-18 10:06:07 +05:30
Kovid Goyal 7cd05ad76b ... 2021-08-18 10:06:07 +05:30
Kovid Goyal fa327d618d Cursor movement at shell prompts on click
Fixes #3825
2021-08-18 10:06:07 +05:30
Kovid Goyal bc202aec6e Dont discard information on whether a click hit a URL 2021-08-18 10:06:07 +05:30
Kovid Goyal 606ce4e66f Add descriptions to fish completions 2021-08-18 10:06:07 +05:30
Kovid Goyal a10c19456a Fix completions for fish 2021-08-18 10:06:07 +05:30
Kovid Goyal 20688661aa ... 2021-08-18 10:06:07 +05:30
Kovid Goyal cbbd9f475e fish completions dont want quoting 2021-08-18 10:06:07 +05:30
Kovid Goyal f4b3948168 Use a shortened dir path for window title
Also respect named directories
2021-08-18 10:06:07 +05:30
Kovid Goyal 2245d4506f Add title and cursor to fish integration 2021-08-18 10:06:06 +05:30
Kovid Goyal 7f3da135e2 ... 2021-08-18 10:06:06 +05:30
Kovid Goyal 23f94b6e67 Get prompt marking working for th fish shell 2021-08-18 10:06:06 +05:30
Kovid Goyal 0ec10b52e0 Add shebangs 2021-08-18 10:06:06 +05:30
Kovid Goyal 2fcd57410a Dont fail if rc file dir doesnt exist 2021-08-18 10:06:06 +05:30
Kovid Goyal a993a71857 Add shell integration for bash 2021-08-18 10:06:06 +05:30
Kovid Goyal 01ce0e1d1a Prevent fd leak if copystat fails 2021-08-18 10:06:06 +05:30
Kovid Goyal 040a152f1f Preserve stat attributes when modifying rc files atomically 2021-08-18 10:06:06 +05:30
Kovid Goyal f4f2013c2b Create shell integration rc file if it doesnt exist 2021-08-18 10:06:06 +05:30
Kovid Goyal 6e172bdc09 Fix cursor in zsh vicmd mode 2021-08-18 10:06:06 +05:30
Kovid Goyal 725ec57bee Automatically setup shell integration for ZSH 2021-08-18 10:06:06 +05:30
Kovid Goyal 8a9234ba4f Move shell integration docs into own file 2021-08-18 10:06:06 +05:30
Kovid Goyal a00e4ebe3f Improce docstring 2021-08-18 10:06:06 +05:30
Kovid Goyal 2d93a011df Option to control shell integration 2021-08-18 10:06:05 +05:30
Kovid Goyal bffe7aba8f Add shell integration scripts to kitty package 2021-08-18 10:06:05 +05:30
Kovid Goyal b581408137 DRYer 2021-08-18 10:06:05 +05:30
Kovid Goyal 2263cd1355 Use a _ksi_ prefix for shell integration
Sadly function in zsh are global so prefix all function and global var
names with _ksi_ as poor mans namespacing.
2021-08-18 10:06:05 +05:30
Kovid Goyal 1bb87c71aa Make all shell integrations disablable 2021-08-18 10:06:05 +05:30
Kovid Goyal 7dec7d615a Use an env var to control shell integration 2021-08-18 10:06:05 +05:30
Kovid Goyal 2e5308ad40 Use an associative array for prompt data 2021-08-18 10:06:05 +05:30