diff options
-rwxr-xr-x | wd | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 "$@";; |