mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(kitty): add plugin for the kitty terminal (#10994)
* A plugin for the Kitty terminal Provides a handful of useful aliases for anyone working in a Kitty terminal. In particular, the kssh command is handy for ensuring that terminfo is set correctly on remote hosts when you ssh to them. * Guard kitty configuration We should only load these aliases into a terminal that's identifying itself as an xterm-kitty terminal. They're not useful in any other situation.
This commit is contained in:
parent
5e59d21e54
commit
071b8f8921
2 changed files with 39 additions and 0 deletions
23
plugins/kitty/README.md
Normal file
23
plugins/kitty/README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Kitty plugin
|
||||
|
||||
This plugin adds a few aliases and functions that are useful for users of the [Kitty](https://sw.kovidgoyal.net/kitty/) terminal.
|
||||
|
||||
To use it, add _kitty_ to the plugins array of your zshrc file:
|
||||
```
|
||||
plugins=(... kitty)
|
||||
```
|
||||
|
||||
## Plugin commands
|
||||
|
||||
* `kssh`
|
||||
Runs a kitten ssh session that ensures your terminfo settings are copied
|
||||
correctly to the remote hose.
|
||||
* `kssh-slow`
|
||||
A slower form of `kssh` that should always work. Use this if `kssh` fails
|
||||
to set terminfo correctly for you on the remote host.
|
||||
* `kitty-theme`
|
||||
Browse and change the theme of your Kitty terminal.
|
||||
|
||||
## Contributors
|
||||
|
||||
- [Ian Chesal](https://github.com/ianchesal)
|
||||
Loading…
Add table
Add a link
Reference in a new issue