1.9 KiB
1.9 KiB
Rack Lin's dotfiles
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!
Prerequisites
Make sure you have installed all of the following prerequisites on your development machine:
- GNU Stow > 2.3.0 that support new
--dotfilesoption - Homebrew - The Missing Package Manager for macOS (or Linux)
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - z for fish - Directory jumping
- Eza -
lsreplacement - ghq - Local Git repository organizer
- fzf - is a general-purpose command-line fuzzy finder.
Contents
- 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
How to use
git
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
zsh
stow --dotfiles -vSt ~ zsh
fish shell
stow --dotfiles -vSt ~ fish
tmux
stow --dotfiles -vSt ~ tmux
nvim
stow --dotfiles -vSt ~ nvim
ghostty
stow --dotfiles -vSt ~ ghostty
starship
stow --dotfiles -vSt ~ starship
