Moved scripts to bin dir.
This commit is contained in:
9
bin/ssh-to-zsh.sh
Executable file
9
bin/ssh-to-zsh.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# $1 = IP ADDR
|
||||
# alt: ssh -t [ip] zsh
|
||||
ssh -t $1 'PS1='\''${${functions[zsh_directory_name]::="
|
||||
unsetopt promptsubst
|
||||
unfunction zsh_directory_name
|
||||
unset PS1
|
||||
. /home/renato/.zshrc
|
||||
"}+}${(D):-}${PS1=%m%# }'\' exec zsh -o promptsubst -f
|
||||
Reference in New Issue
Block a user