From 0a602e52600cd933c0d28277527e137ab5f528f1 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Wed, 18 Jan 2023 23:13:36 +0800 Subject: [PATCH] install.sh: will prompt version --- install.sh | 1 + tools/get.dotfiles.cn | 1 + 2 files changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 6e7a499..b55b132 100755 --- a/install.sh +++ b/install.sh @@ -292,6 +292,7 @@ uninstall() fmt_note "done uninstalling!" } +echo "this is the dotfiles installer, version $(cd "$DOTFILES" && git describe --tags --always --dirty)" FUNC=install INSTALL_DEP=0 store_config=0 diff --git a/tools/get.dotfiles.cn b/tools/get.dotfiles.cn index 84a19a0..ac2166b 100644 --- a/tools/get.dotfiles.cn +++ b/tools/get.dotfiles.cn @@ -45,6 +45,7 @@ for u in "${DFS_USERS[@]}";do echo "install for user $u in 3 seconds ..." sleep 3 $SUCMD<