From 55fa988f6f8316918f8a1a5a901b0561467c1b77 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 4 Jun 2025 01:03:45 +0900 Subject: Create extra/ and minimal/ minimal/ should be a minimal subset of public/ to be used when installing configuration files on a VPS or VM. Move .git-prompt.sh to extra to be sym-linked both in public/ and minimal/ --- minimal_linking_example.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 minimal_linking_example.sh (limited to 'minimal_linking_example.sh') diff --git a/minimal_linking_example.sh b/minimal_linking_example.sh new file mode 100644 index 0000000..e28b4ad --- /dev/null +++ b/minimal_linking_example.sh @@ -0,0 +1,21 @@ +# I don't maintain this file, use it ONLY AS REFERENCE +# +# WARNINGS: +# * if $HOME contains spaces this breaks +# * `ln -sf` overwrites the destination files +# +# you can play with ln options (e.g., `ln -siv`) + +target=$HOME/dotfiles/minimal +dest=$HOME + +cd $dest +ln -sf $target/.inputrc +ln -sf $target/.git-prompt.sh +ln -sf $target/.bashrc +ln -sf $target/.bash_aliases +cd $dest/.config +ln -sf $target/.config/git +ln -sf $target/.config/locale.conf +ln -sf $target/.config/nvim +ln -sf $target/.config/tmux -- cgit v1.2.3