Xonsh: Fix kitty ssh alias
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
if $TERM == "xterm-kitty":
|
if $TERM == "xterm-kitty":
|
||||||
# Wrap ssh with environment variable because servers tend to deal poorly with kitty
|
# Wrap ssh with environment variable because servers tend to deal poorly with kitty
|
||||||
def xterm_ssh(args):
|
def xterm_ssh(args):
|
||||||
$TERM="xterm-256color" ssh @(*args)
|
$TERM="xterm-256color" ssh @(args)
|
||||||
|
|
||||||
aliases["ssh"] = xterm_ssh
|
aliases["ssh"] = xterm_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user