Sin-cy/dotfiles
Tentang
⌨️ Pembaruan tanpa akhir untuk konfigurasi dotfiles saya
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- +1
- dalam 7 hari
- +3
- dalam 15 hari
- +6
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliMy dotfiles
This directory contains the dotfiles for my mac system which probably won't work on yours.
Install with Script
Run the following
- optional: Install Xcode command line tools beforehand
xcode-select --installInstall brew
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install gitgit clone https://github.com/Sin-cy/dotfiles.git $HOME/dotfilesthis repo into $HOMEcd dotfilesand make install.sh executablechmod +x ~/dotfiles/install.shwhich ever way possiblerun in shell
/bin/bash ~/dotfiles/install.sh
Manual Install
Repository and Installations needed
Install Command Line Tools
xcode-select --install
Install Homebrew
Install Homebrew.
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Enter your password and proceed yes to confirm the installation if it prompts you to
Homebrew extras required
brew install neovim eza fzf fd stow bat zoxide zsh-autosuggestions zsh-syntax-highlighting git starship tmux nvm- If Mason lsp starts shouting when opening neovim
- do nvm install node v23.3.0 or v-xx-xx
coreutils
brew install coreutils- add
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"to top of the rc file (~/.zshrc or ~/.zshenv)
fzf-git
git clone https://github.com/junegunn/fzf-git.sh.git
Tmux
Installation
brew install tmux
Tmux plugins manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Git
- Check this by running
git --versionin the shell to see if the command is available - it will most likely prompt you to install it with Xcode Command Line tools.
- (Skip this step if command line tools already installed)
Install Git with Homebrew ( My Default )
- Manually Install git with Homebrew
brew install git - brew installs git on mac at
/opt/homebrew/bin/git
Install Git via Xcode
- Install Xcode usign
xcode-select --install - xcode installs git at
/usr/bin/git
GNU Stow
- Refer the docs : Read More
brew install stow
Installation of this repo using stow
First, check out dotfiles repo in your $HOME directory using git
$ git clone https://github.com/Sin-cy/dotfiles.git
$ cd dotfiles
Before Running any stow commands
- At least for this config structure
- !! make sure home directories is set to have the same structure first !!
- for instances ( Watch for Sub-directories )
- if any subdirectory eg:
~/.configdont exist in $HOME thenmkdir .config - other config files that don't exist in $HOME atm, should not have any problems for stow symlinks
- if any subdirectory eg:
then use GNU stow to create symlinks
[!IMPORTANT] make sure you are in your dotfiles directory
cd dotfiles- as long as you have the structure setup in $HOME correctly
- running
stow .should be enough
However, for assurance
- run stow commands like below for each directory in dotfiles
- re-check if the symlinks are correct for each sub-directories and files
stow -t ~ starship wezterm tmux
#or run them separately
stow -t ~ nvim
stow -t ~ zsh
Jelajahi proyek terkait
Memuat…