Skip to content

Commit

Permalink
Merge pull request #2 from mmartinortiz/master
Browse files Browse the repository at this point in the history
Redirect to null error message from find
  • Loading branch information
dgrant authored Feb 5, 2020
2 parents 46664d9 + ebb98a2 commit 2bf1174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.fish
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function autovenv --on-variable PWD -d "Automatic activation of Python virtual e
# to split "/home". So the lack of a slash is what we do to tell us that "it's time to stop"
break
end
for _venv_dir in (find "$_tree" -maxdepth 1 -type d)
for _venv_dir in (find "$_tree" -maxdepth 1 -type d 2> /dev/null)
if test -e "$_venv_dir/bin/activate.fish"
set _source "$_venv_dir/bin/activate.fish"
if test "$autovenv_announce" = "yes"
Expand Down

0 comments on commit 2bf1174

Please sign in to comment.