diff --git a/.zprezto/abra/functions.zsh b/.zprezto/abra/functions.zsh index 3b61519..e58225a 100644 --- a/.zprezto/abra/functions.zsh +++ b/.zprezto/abra/functions.zsh @@ -63,7 +63,7 @@ function mount_sshfs { -o Compression=yes \ -o reconnect \ -o workaround=rename \ - "$DESTINATION:$REMOTE_MOUNT_PATH" "$LOCAL_MOUNT_PATH" + "$DESTINATION:/" "$LOCAL_MOUNT_PATH" # if [[ ! -e "$LOCAL_COMMAND_PIPE_PATH" ]]; then # echo "Can't find the command pipe" @@ -72,8 +72,7 @@ function mount_sshfs { echo "Starting remote command pipe..." - ssh $DESTINATION \ -<< EOF + ssh $DESTINATION " set -euxo pipefail if [[ -e /tmp/sshfs_command_pipe ]]; then @@ -82,8 +81,8 @@ function mount_sshfs { mkfifo /tmp/sshfs_command_pipe - tail -f /tmp/sshfs_command_pipe | zsh -lx -EOF + tail -f /tmp/sshfs_command_pipe +" | zsh -x } function sublr {