Simplify zsh config file structure
This commit is contained in:
parent
7bdf7ab1cd
commit
71c5944bf8
19 changed files with 31 additions and 21 deletions
5
.config/zsh/6-ssht-tmux-attaching
Normal file
5
.config/zsh/6-ssht-tmux-attaching
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# automatically use tmux whenever we ssh to a server
|
||||
|
||||
function ssht(){
|
||||
ssh $* -t 'tmux a || tmux || /bin/bash'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue