branch: externals/ivy-hydra
commit bfefd695bb2f08a9625c2d5881e4c0686ad86f35
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-git-occur): Fixup
Re #2366
---
counsel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index 25bbc16..473d13e 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1287,7 +1287,7 @@ INITIAL-INPUT can be given as the initial minibuffer
input."
(counsel-cmd-to-dired
(counsel--expand-ls
(format "%s | %s | xargs ls"
- counsel-git-cmd
+ (replace-regexp-in-string "\\(-0\\)\\|\\(-z\\)" "" counsel-git-cmd)
(counsel--file-name-filter)))))
(defvar counsel-dired-listing-switches "-alh"