summarylogtreecommitdiffstats
path: root/wd
blob: 67df5df44614068cfd95538508e7c0c0e3a918ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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