- GNU Stow (reference video)
cd ~ ; git clone git@github.com:horothesun/dotfiles.git ; cd dotfiles
After using stow
, run
cp alacritty/alacritty_new_window_same_dir.sh /usr/local/bin/alacritty_new_window_same_dir.sh
Note: creating a symbolic link to the bash script doesn't work.
stow --simulate --no-folding --verbose --target ~ alacritty
stow --simulate --no-folding --restow --verbose --target ~ alacritty
stow --simulate --verbose --delete --target ~ alacritty
First create same ~
-based <APP>
folder and file structure in dotfiles/
, then
stow --simulate --adopt --verbose --target ~ <APP>