add ssh function for kitty, auto create location.txt for weather script
This commit is contained in:
parent
0a8b980163
commit
3b9ecafd9d
2 changed files with 12 additions and 0 deletions
9
fish/functions/ssh.fish
Normal file
9
fish/functions/ssh.fish
Normal 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
|
|
@ -33,3 +33,6 @@
|
|||
- ~/proj
|
||||
- ~/bin
|
||||
- ~/.desktop
|
||||
|
||||
- shell:
|
||||
- [touch ~/dotfiles/location.txt]
|
||||
|
|
Loading…
Reference in a new issue