Skip to content

Commit

Permalink
Merge pull request #64 from evanthegrayt/avoid-name-collision
Browse files Browse the repository at this point in the history
Change DIR to CDC_DIR to avoid name collisions
  • Loading branch information
evanthegrayt authored Jul 30, 2024
2 parents 74f7d26 + 02c0c17 commit 62aac0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdc.plugin.bash
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
##
# The file to be sourced if you're using bash and want tab-completion.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
CDC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

##
# Source the plugin and completion functions.
source $DIR/cdc.sh
unset DIR
source $CDC_DIR/cdc.sh
unset CDC_DIR

##
# Bash-it plugin citations.
Expand Down

0 comments on commit 62aac0c

Please sign in to comment.