diff options
author | lassulus <lassulus@lassul.us> | 2018-12-02 05:47:20 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-02 05:48:18 +0100 |
commit | 99381f7c9d90fb0be074d469daca4bc433cc0126 (patch) | |
tree | d0b40d6d0530e72a45050920c066b34dffcc1c9f /lass/5pkgs/fzfmenu | |
parent | 93e951f2b93fc3d3012f15fd27f9866254f90fa3 (diff) |
l fzfmenu: make more dmenu compatible
Diffstat (limited to 'lass/5pkgs/fzfmenu')
-rw-r--r-- | lass/5pkgs/fzfmenu/default.nix | 14 |
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 |