My dotfiles 😄 for Zsh on MacOS. Clone the repository and Run setup.sh to setup some initial requirements
My most favourite parts are .functions and .containerfunctions
To get all done in a minutes you can use the setup script script
curl -s https://raw.githubusercontent.com/nurrony/dotfiles/master/setup | bashDo not forget to add or edit git username and email in .extra and .gitconfig with yours. Also other path (i.e: DEV_CONTAINER_NETWORK_NAME, SSH_KEY_FILE_NAME, DEV_ZONE, DEV_ZONE_CONFIG_PATH).
Example .extra file
# Development directory path
export DEV_ZONE=/Volumes/Devzone
export DEV_ZONE_CONFIG_PATH=$DEV_ZONE/storage
export DEV_CONTAINER_NETWORK_NAME=ronsvpn
# Set ssh key file name
export SSH_KEY_FILE_NAME='nur-macbookpro'
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
export GIT_COMMIT_GPG_SIGN=false
export GIT_COMMIT_GPG_KEY="06B3A1B73F55F441"
export GIT_AUTHOR_NAME="Nur Rony"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_AUTHOR_EMAIL="[email protected]"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global commit.gpgsign $GIT_COMMIT_GPG_SIGN
git config --global user.signingkey $GIT_COMMIT_GPG_KEY
Happy Hacking!!
When setting up a new Mac, you may want to set some sensible macOS defaults:
./.macosWhen setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
brew bundle install --file=$HOME/.dotfiles/BrewfileI have switched from Vim to NeoVim. To setup NeoVim Editor, Please check My NeoVim PDE repository for more on NeoVim configuration.
The dotfiles comes with these popular terminal emulators.
- Kitty: Copy
kittydirectory in~/.config/ - ghostty: Copy
ghosttydirectory in~/.config/ - WezTerm: Copy
weztermdirectory in~/.config - Alacritty: Copy
alacrittydirectory in~/.config - Iterm2: Import this file and make it default
I use WezTerm and Zsh with PowerLevel10k together with these followings, so you need to install these as well
- Zsh Themes
- There are configuration for most popular ZSH prompt themes. Uncomment the lines in
zshrcto load the theme. - Terminal Theme: Catppuccin Theme.
- There are configuration for most popular ZSH prompt themes. Uncomment the lines in
- Any Nerd Font of your choice. I like JetBrains Mono
- You can import my settings by importing iTerm Profile file
- Mathias Bynens
- Paul Irish
- Oh My Posh Contributors for Oh My Posh theme
- Starship Contributors for Starship theme
- Powerlevel10k Contributors for Powerlevel10k theme