[pass] Issue with Pass and Fish

Brian Mattern rephorm at rephorm.com
Wed Mar 6 23:41:40 CET 2013


Pass uses ${EDITOR-vi} (i.e., vi if $EDITOR is empty or not set).
I've never used fish, so can't help you on why the the EDITOR var is not
set.

Try a simple shell script like:

~~~~
#!/bin/bash
echo editor: ${EDITOR}
~~~~

Brian

On Tue, 05 Mar 2013, Nathan DeGruchy wrote:

> Hello,
> 
> I'm using the Fish shell, and when I try to use `pass`, specifically
> `pass edit some/password-file`, it defaults to vi. Being on a Mac, I've
> actually changed my $EDITOR variable to `/usr/local/bin/mvim` (for
> GVim), echoing $EDITOR confirms this.
> 
> Is there some reason pass fails to pick up on $EDITOR? I installed it
> via homebrew, if that matters. I'm also using Fish 2.0 beta, which I
> realize could be an issue. I also checked and added `export
> EDITOR="/usr/local/bin/mvim"` to my `.bashrc` file, but that doesn't
> seem to work, either.
> 
> Just to note, I've also tried `/usr/local/bin/vim -g` as an $EDITOR
> variable, too.
> 
> Does anyone have any ideas?
> 
> Thanks!
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com



More information about the Password-Store mailing list