diff options
| author | Mitsuo Tokumori <[email protected]> | 2025-05-28 22:03:11 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2025-05-28 22:03:11 +0900 |
| commit | 47b726b9b90655e31d1abcac2976f730d789bc76 (patch) | |
| tree | 6e4fdf079a5e1e1f6976a01d3445fc7986743f9c /linking_example.sh | |
| parent | 72490d68a3f9ad8a7ec12414c9171a9c66ebca23 (diff) | |
| download | dotfiles-47b726b9b90655e31d1abcac2976f730d789bc76.tar.gz dotfiles-47b726b9b90655e31d1abcac2976f730d789bc76.tar.bz2 dotfiles-47b726b9b90655e31d1abcac2976f730d789bc76.zip | |
Remove install script
Diffstat (limited to 'linking_example.sh')
| -rw-r--r-- | linking_example.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/linking_example.sh b/linking_example.sh new file mode 100644 index 0000000..2c539e6 --- /dev/null +++ b/linking_example.sh @@ -0,0 +1,37 @@ +# If dotfiles is placed in home directory, the following commands should work. +# Nevertheless, I don't maintain this file, so just use it as reference. + +# WARNING: if $HOME contains spaces this breaks + +dotfiles=$HOME/dotfiles + +# you can play with ln options (e.g., `ln -siv`) + +cd $HOME +ln -sf $dotfiles/public/.xbindkeysrc .xbindkeysrc +ln -sf $dotfiles/public/.xinitrc .xinitrc +ln -sf $dotfiles/public/.inputrc .inputrc +ln -sf $dotfiles/public/.infokey .infokey +ln -sf $dotfiles/public/.git-prompt.sh .git-prompt.sh +ln -sf $dotfiles/public/.bashrc .bashrc +ln -sf $dotfiles/public/.bash_profile .bash_profile +ln -sf $dotfiles/public/.bash_aliases .bash_aliases +mkdir -p .config +ln -sf $dotfiles/public/.config/git .config/git +ln -sf $dotfiles/public/.config/gtk-3.0 .config/gtk-3.0 +ln -sf $dotfiles/public/.config/locale.conf .config/locale.conf +ln -sf $dotfiles/public/.config/mpv .config/mpv +ln -sf $dotfiles/public/.config/nsxiv .config/nsxiv +ln -sf $dotfiles/public/.config/nvim .config/nvim +ln -sf $dotfiles/public/.config/tmux .config/tmux +ln -sf $dotfiles/public/.config/zathura .config/zathura +mkdir -p .vim +ln -sf $dotfiles/public/.vim/fun.vim .vim/fun.vim +ln -sf $dotfiles/public/.vim/vimrc .vim/vimrc + +mkdir -p code/dwm +ln -sf $dotfiles/public/code/dwm/config.h code/dwm/config.h +mkdir -p code/dwmblocks +ln -sf $dotfiles/public/code/dwmblocks/config.h code/dwmblocks/config.h +mkdir -p code/st +ln -sf $dotfiles/public/code/st/config.h code/st/config.h |
