summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwd6
1 files changed, 6 insertions, 0 deletions
diff --git a/wd b/wd
index 13cfde7..28cbe1c 100755
--- a/wd
+++ b/wd
@@ -18,6 +18,12 @@ cmd_wd_version () {
exit 0
}
+wdrc=${WDRC:-"$HOME/.wdrc"}
+if [ ! -f "$wdrc" ]; then
+ touch $wdrc
+fi
+source $wdrc
+
case "$1" in
help|--help|-h) shift; cmd_wd_usage "$@";;
version|--version|-v) shift; cmd_wd_version "$@";;