1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # shellcheck disable=SC2086 # shellcheck source=/dev/null . ~/.local/lib/shell/lib cp -R $HOME/.local/share/git-template/* "$(pwd)" [ -d ./.git ] || git init if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi