I am using GNU Stow - a symlink farm manager to manage dotfiles.
Warning: Don’t blindly use my settings unless you know what that entails. Use at your own risk!
Make sure you have installed all of the following prerequisites on your development machine:
- GNU Stow > 2.3.0 that support new
--dotfiles
option - z for fish - Directory jumping
- Exa -
ls
replacement - ghq - Local Git repository organizer
- fzf - is a general-purpose command-line fuzzy finder.
- git config
- zsh config
- oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- powerlevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- oh-my-zsh
- tmux config
- MacOSX config
Let’s stow git setting,
stow --dotfiles -vSt ~ git
That’s it! we have successfully created a symlink for .gitconfig
,and a symlink for .gitignore_global
stow --dotfiles -vSt ~ zsh
mkdir ~/.config/fish
stow --dotfiles -vSt ~/.config/fish fish
stow --dotfiles -vSt ~ tmux
stow --dotfiles -vSt ~/.config starship