From 3b9ecafd9dc1470b2ee2974572df94974dc6516c Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Tue, 7 Jun 2022 16:05:33 +0200 Subject: [PATCH] add ssh function for kitty, auto create location.txt for weather script --- fish/functions/ssh.fish | 9 +++++++++ install.conf.yaml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 fish/functions/ssh.fish diff --git a/fish/functions/ssh.fish b/fish/functions/ssh.fish new file mode 100644 index 0000000..83b8284 --- /dev/null +++ b/fish/functions/ssh.fish @@ -0,0 +1,9 @@ +function ssh + if test $TERM = xterm-kitty + echo "using kitty +kitten ssh" + echo + kitty +kitten ssh $argv + else + command ssh $argv + end +end \ No newline at end of file diff --git a/install.conf.yaml b/install.conf.yaml index 89d054a..4266afe 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -33,3 +33,6 @@ - ~/proj - ~/bin - ~/.desktop + +- shell: + - [touch ~/dotfiles/location.txt]