Moved scripts to bin dir.

This commit is contained in:
2018-09-15 12:31:45 -03:00
parent c7464eea4d
commit 5543ac26a6
10 changed files with 10 additions and 0 deletions

9
bin/ssh-to-zsh.sh Executable file
View 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