Skip to content

Commit

Permalink
bugfix for when $SRC_DIR is a symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
jneen committed Jan 30, 2012
1 parent 4241ab3 commit 3053baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bashrc.d/src.sh
Expand Up @@ -25,7 +25,7 @@ src() {
cd $SRC_DIR

if [[ -n "$name" ]]; then
dir="$(find $SRC_DIR \
dir="$(find $SRC_DIR/ \
-maxdepth 1 \
-mindepth 1 \
-name "$name*" \
Expand Down

0 comments on commit 3053baa

Please sign in to comment.