Bare repo to store configuration files.
-
git
command available at path:user/bin/git
-
Homebrew - the missing package manager for macOS
-
NeoVim - hyperextensible Vim-based text editor
brew install neovim
-
Node - for neogit nvim plugin and any plugin using javascript
brew install node
-
ripgrep - extended live-grep searching in neovim
brew install ripgrep
-
chruby
andruby-install
for maintaining ruby gems and flexible switching between many Ruby versionsbrew install chruby ruby-install
then you can install latest Ruby
ruby-install ruby
-
Nerd Fonts - set of dev icons and symbols to display in terminal
brew install font-meslo-lg-nerd-font --cask
-
Oh-My-Zsh - zsh config framework at path:
user/.oh-my-zsh
-
zsh-autosuggestions
- zsh plugin for command autosuggestionsbrew install zsh-autosuggestions
-
zsh-syntax-highlighting
- zsh plugin for highlighting valid/invalid commandsbrew install zsh-syntax-highlighting
-
Oh-My-Posh - beautify the prompt and additional status look
brew install jandedobbeleer/oh-my-posh/oh-my-posh
-
Installs everything listed above using the gist script.
Use command:
curl -Lks https://gist.githubusercontent.com/baquaz/\ 510b8a702c79d00d7c9bf2a297381da1/raw/47f240bb6ebe97d969c053fd9a18c10b950ae7c6/\ mac-setup-init.sh | /bin/sh
2. Automatic dotfiles gist script
Installs repo and moves all pre-existing files into .config-backup
folder
Use command:
curl -Lks https://gist.githubusercontent.com/baquaz/\
296cb06e075ee9d715dd2058a44fb686/raw/c1cee0a0a83869a403c069b3a44fe51b6ad0bece/\
dotfiles-install.sh | /bin/zsh
Done!
From now on you can use bare repo almost the same way as normal git repo.
Just use special alias config
instead of git
command for the repo.
Define the alias in the current shell scope:
alias config='/usr/bin/git --git-dir=$HOME/.config/ --work-tree=$HOME'
Example usage:
config status
config add .vimrc
config commit -m "Add vimrc"
config add .bashrc
config commit -m "Add bashrc"
config push