diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/aszlig/gopass/use-color-in-pager.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/aszlig/gopass/use-color-in-pager.patch b/pkgs/aszlig/gopass/use-color-in-pager.patch index 86f6fd53..548e317c 100644 --- a/pkgs/aszlig/gopass/use-color-in-pager.patch +++ b/pkgs/aszlig/gopass/use-color-in-pager.patch @@ -1,17 +1,17 @@ diff --git a/pkg/action/list.go b/pkg/action/list.go -index 03de22b..d54113f 100644 +index 8a96407..45b416e 100644 --- a/pkg/action/list.go +++ b/pkg/action/list.go -@@ -14,7 +14,6 @@ import ( - "github.com/justwatchcom/gopass/pkg/termutil" - "github.com/justwatchcom/gopass/pkg/tree" +@@ -9,7 +9,6 @@ import ( + "os/exec" + "strings" - "github.com/fatih/color" - shellquote "github.com/kballard/go-shellquote" - "github.com/pkg/errors" - "github.com/urfave/cli" -@@ -89,7 +88,6 @@ func redirectPager(ctx context.Context, subtree tree.Tree) (io.Writer, *bytes.Bu - if subtree == nil || subtree.Len() < rows { + "github.com/gopasspw/gopass/pkg/ctxutil" + "github.com/gopasspw/gopass/pkg/termutil" + "github.com/gopasspw/gopass/pkg/tree" +@@ -115,7 +114,6 @@ func redirectPager(ctx context.Context, subtree tree.Tree) (io.Writer, *bytes.Bu + if pager := os.Getenv("PAGER"); pager == "" { return stdout, nil } - color.NoColor = true |