From 02c0c171b0507b9b399cd9db8e1c363b6d2c3fa6 Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Mon, 29 Jul 2024 22:24:34 -0500 Subject: [PATCH] Change DIR to CDC_DIR to avoid name collisions --- cdc.plugin.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cdc.plugin.bash b/cdc.plugin.bash index 48dd0b8..8eaba60 100644 --- a/cdc.plugin.bash +++ b/cdc.plugin.bash @@ -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.