Use waypipe by default

This commit is contained in:
Thomas Avé 2024-04-01 00:05:58 +02:00
parent 39ed323d3b
commit eb708dfa0a
1 changed files with 7 additions and 3 deletions

View File

@ -153,6 +153,10 @@ function zvm_after_init() {
bindkey -M emacs "^Y" find_local_files bindkey -M emacs "^Y" find_local_files
bindkey -M vicmd "^Y" find_local_files bindkey -M vicmd "^Y" find_local_files
bindkey -M viins "^Y" find_local_files bindkey -M viins "^Y" find_local_files
if [ "$REMOTE_PATH" != "" ]; then
cd $REMOTE_PATH
fi
} }
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
@ -221,12 +225,12 @@ function o () {
xdg-open "$1" &! xdg-open "$1" &!
} }
function s() { function server() {
ssh server@mallorea -t "cd \"$(pwd)\" ; zsh --login" waypipe ssh -t mallorea env REMOTE_PATH="$(pwd)" "zsh --login"
} }
function riva() { function riva() {
ssh user@riva -t "cd \"$(pwd)\" ; zsh --login" waypipe ssh -t riva env REMOTE_PATH="$(pwd)" "zsh --login"
} }
if [ "$SSH_CLIENT" ] if [ "$SSH_CLIENT" ]