From 75a3ae508522d1e31d690a66f10b031256e6946e Mon Sep 17 00:00:00 2001 From: shu Date: Tue, 27 Oct 2026 15:47:16 +0800 Subject: 为 shell 脚本增加执行顺序 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/10_stow.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/10_stow.sh (limited to 'scripts/10_stow.sh') diff --git a/scripts/10_stow.sh b/scripts/10_stow.sh new file mode 100755 index 0000000..8bdcd5b --- /dev/null +++ b/scripts/10_stow.sh @@ -0,0 +1,8 @@ +#/bin/bash + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +DOTFILE_DIR="$(cd $SCRIPT_DIR && cd ../dotfiles && pwd)" +# echo $DOTFILE_DIR + +# add link +cd $DOTFILE_DIR && stow -d $DOTFILE_DIR -t $HOME --no-folding --adopt */ \ No newline at end of file -- cgit v1.2.3