summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/fzfmenu
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-02 05:47:20 +0100
committerlassulus <lassulus@lassul.us>2018-12-02 05:48:18 +0100
commit99381f7c9d90fb0be074d469daca4bc433cc0126 (patch)
treed0b40d6d0530e72a45050920c066b34dffcc1c9f /lass/5pkgs/fzfmenu
parent93e951f2b93fc3d3012f15fd27f9866254f90fa3 (diff)
l fzfmenu: make more dmenu compatible
Diffstat (limited to 'lass/5pkgs/fzfmenu')
-rw-r--r--lass/5pkgs/fzfmenu/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/lass/5pkgs/fzfmenu/default.nix b/lass/5pkgs/fzfmenu/default.nix
index 6b5899359..905a5ce6b 100644
--- a/lass/5pkgs/fzfmenu/default.nix
+++ b/lass/5pkgs/fzfmenu/default.nix
@@ -12,8 +12,20 @@ pkgs.writeDashBin "fzfmenu" ''
shift
break
;;
+ -l)
+ # no reason to filter number of lines
+ LINES="$2"
+ shift
+ shift
+ break
+ ;;
+ -i)
+ # we do this anyway
+ shift
+ break
+ ;;
*)
- echo "Unknown option $1"
+ echo "Unknown option $1" >&2
shift
;;
esac