Skip to content

Commit

Permalink
Only decend 3 levels in the bin directory while looking for binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
fimad committed Sep 12, 2013
1 parent 4758cb9 commit 9a6e7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .profile
Expand Up @@ -22,7 +22,7 @@ export MPD_HOST=multivac.wc
# subdirectories also
if [ -d "$HOME/bin" ] ; then
# find all directories in $HOME/bin, follow symbolic links ignore dot files
directories=`find -L $HOME/bin/ -type d | egrep -v '/\.'`
directories=`find -L $HOME/bin/ -maxdepth 3 -type d | egrep -v '/\.'`
for d in $directories
do
# Add the directory to the path if there are any executable files in it
Expand Down

0 comments on commit 9a6e7ae

Please sign in to comment.