Skip to content

Commit a8e1b3d

Browse files
committed
Move askpass setting
1 parent b28f194 commit a8e1b3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/MacVim/gvimrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ set guitablabel=%M%t
3737
" that is generated by :hardcopy.
3838
set printexpr=system('open\ -a\ Preview\ '.v:fname_in)\ +\ v:shell_error
3939

40+
" askpass
41+
let $SSH_ASKPASS = simplify($VIM . '/../../MacOS') . '/macvim-askpass'
42+
let $SUDO_ASKPASS = $SSH_ASKPASS
43+
4044

4145
" This is so that HIG Cmd and Option movement mappings can be disabled by
4246
" adding the line
@@ -105,7 +109,3 @@ endif " exists("macvim_hig_shift_movement")
105109
" Restore the previous value of 'cpoptions'.
106110
let &cpo = s:cpo_save
107111
unlet s:cpo_save
108-
109-
" askpass
110-
let $SSH_ASKPASS = simplify($VIM . '/../../MacOS') . '/macvim-askpass'
111-
let $SUDO_ASKPASS = $SSH_ASKPASS

0 commit comments

Comments
 (0)