summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xv3
1 files changed, 3 insertions, 0 deletions
diff --git a/v b/v
index b5b54c1..4a6543a 100755
--- a/v
+++ b/v
@@ -4,6 +4,9 @@ then
elif [[ -f $1 ]]
then
edit $1
+elif [[ ! -z $1 ]]
+then
+ edit $1
else
rg --files . | fzf | xargs edit
fi