summaryrefslogtreecommitdiff
path: root/notmuch-ssh-client
blob: 419ff23c50232d556ac235b3c05d08313ea2d1ce (plain)
1
2
3
4
5
6
#!@zsh@/bin/zsh

instance=${NOTMUCH_INSTANCE:-mail}
host=${NOTMUCH_HOST:-notmuch.odin}

exec -- @openssh@/bin/ssh -o ControlPath=~/.ssh/notmuch-%r@%n:%p ${host} -- ${instance} $@