(bash) only ignore .git/ folder
This commit is contained in:
parent
59001450a6
commit
3b73a5042a
1 changed files with 2 additions and 2 deletions
|
|
@ -406,9 +406,9 @@ ed() {
|
||||||
local f=""
|
local f=""
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
f=$(find . | grep -Ev "node_modules|\.git" | fzf --filter="$1" --select-1 --exit-0 | head -1)
|
f=$(find . | grep -Ev "node_modules|\.git/" | fzf --filter="$1" --select-1 --exit-0 | head -1)
|
||||||
else
|
else
|
||||||
f=$(find . | grep -Ev "node_modules|\.git" | fzf)
|
f=$(find . | grep -Ev "node_modules|\.git/" | fzf)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$f" ]; then
|
if [ -n "$f" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue