summarylogtreecommitdiffstats
path: root/wd
diff options
context:
space:
mode:
Diffstat (limited to 'wd')
-rwxr-xr-xwd13
1 files changed, 13 insertions, 0 deletions
diff --git a/wd b/wd
new file mode 100755
index 000000000000..19e3de55ffae
--- /dev/null
+++ b/wd
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+WDDIR="$HOME/.local/share/wudao-dict"
+if [ ! -d "$WDDIR" ]
+then
+ cp -r /opt/wudao-dict "$WDDIR"
+ mkdir "$WDDIR/usr"
+fi
+
+save_path=$PWD
+cd $WDDIR
+./wdd $*
+cd $save_path