Commit Diff


commit - a5ae11fe24bc4ae3841ff1c17d6c9de6d74bc0cb
commit + 77ea6ba189318aa615484e5dbcb7271af75eb89f
blob - 7d75a91eb9fdf1aa2842e13c689bf0f4879b5776
blob + 61c6a6aa791f765e0f409cf13ebf0ff3b345d994
--- plass
+++ plass
@@ -27,8 +27,6 @@ use File::Temp qw(tempfile);
 
 my $store = $ENV{'PLASS_STORE'} // $ENV{'HOME'}.'/.password-store';
 
-my $got = $ENV{'PLASS_GOT'} // 'got';
-
 my $gpg = $ENV{'PLASS_GPG'} // 'gpg';
 my @gpg_flags = qw(--quiet --compress-algo=none --no-encrypt-to --use-agent);
 
@@ -138,7 +136,7 @@ sub passfind {
 
 sub got {
 	# discard stdout
-	open my $fh, '-|', ($got, @_);
+	open my $fh, '-|', ('got', @_);
 	close($fh);
 	return !$?;
 }
@@ -164,8 +162,8 @@ sub got_ci {
 
 	open (STDOUT, ">&", \*STDERR)
 	    or die "can't redirect stdout to stderr";
-	exec ($got, 'commit', '-m', shift)
-	    or die "failed to exec $got: $!";
+	exec ('got', 'commit', '-m', shift)
+	    or die "failed to exec got: $!";
 }
 
 
blob - 4ab9a0b9f5dcb9e5be32ea9f18deee104f71e66f
blob + 341f2e5fbdfb91519d28d31aa86aa8f0e016a7bb
--- plass.1
+++ plass.1
@@ -87,10 +87,6 @@ option is given.
 .El
 .Sh ENVIRONMENT
 .Bl -tag -width Ds
-.It Ev PLASS_GOT
-Path to the
-.Xr got 1
-executable.
 .It Ev PLASS_GPG
 Path to the
 .Xr gpg 1