]> Sergey Matveev's repositories - schwabrak.git/commitdiff
Pass filtering options to cd
authorSergey Matveev <stargrave@stargrave.org>
Fri, 17 May 2024 12:54:27 +0000 (15:54 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 17 May 2024 12:54:27 +0000 (15:54 +0300)
cd

diff --git a/cd b/cd
index 09cc64fb43f863bf99be65a1ee6f181b1541cd177adbd0f5a9fce2d6d8db65a8..375ea032fb0ac7e6fa3213aa8cf1b0faa760d7b297cd17fe6333dbe7479ba7e0 100755 (executable)
--- a/cd
+++ b/cd
@@ -3,5 +3,5 @@
 root=$0:h:a
 . $root/lib.zsh.rc
 
-$root/list | fzf --ansi --tac --preview="$root/show {1}" | cut -f2 | read d
+$root/list $@ | fzf --ansi --tac --preview="$root/show {1}" | cut -f2 | read d
 print issues/$d