add ssh function for kitty, auto create location.txt for weather script

This commit is contained in:
Crispy 2022-06-07 16:05:33 +02:00
parent 0a8b980163
commit 3b9ecafd9d
2 changed files with 12 additions and 0 deletions

9
fish/functions/ssh.fish Normal file
View file

@ -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

View file

@ -33,3 +33,6 @@
- ~/proj
- ~/bin
- ~/.desktop
- shell:
- [touch ~/dotfiles/location.txt]