Make find-edit case insensitive
This commit is contained in:
parent
b99366dbbe
commit
c3b5d1b524
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if [ -f "$1" ]
|
||||||
then
|
then
|
||||||
$EDITOR $1
|
$EDITOR $1
|
||||||
else
|
else
|
||||||
file=$(sh -c "find $root $ignore -type f" | fzf -m -1 -q "$*")
|
file=$(sh -c "find $root $ignore -type f" | fzf -i -m -1 -q "$*")
|
||||||
if [ "$?" -eq 0 ]
|
if [ "$?" -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "$file" | xargs -d '\n' $EDITOR
|
echo "$file" | xargs -d '\n' $EDITOR
|
||||||
|
|
Loading…
Reference in a new issue