summaryrefslogtreecommitdiffstats
path: root/dot_config/zsh/aliasrc
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-28 10:04:55 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-28 10:04:55 -0500
commit93c49104155039d6f6efee7c698e6bf42cd30c1a (patch)
tree84d76f6a9685cecc3c70bfc91b6558b6551560a1 /dot_config/zsh/aliasrc
parentAdd gradle to XDG (diff)
downloaddotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.gz
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.bz2
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.lz
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.xz
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.zst
dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.zip
Use the SSH kitten when using kitty
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--dot_config/zsh/aliasrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc
index b1f0af8..8b7001e 100644
--- a/dot_config/zsh/aliasrc
+++ b/dot_config/zsh/aliasrc
@@ -61,3 +61,8 @@ alias \
z="zathura"
alias adb='HOME="$XDG_DATA_HOME"/android adb'
+
+# Use the SSH kitten when possible.
+if [ "$TERM" = "xterm-kitty" ]; then
+ alias sshs='sshs -t "kitten ssh \"{{{name}}}\""'
+fi \ No newline at end of file