Skip to content

sanadhis/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My personal dotfiles — macOS, zsh + oh-my-zsh, mise for dev tools.

Prerequisites


1. oh-my-zsh plugins and theme

The zshrc uses four plugins. Two (git, kube-ps1) are bundled with oh-my-zsh. The other two must be installed manually into $ZSH_CUSTOM.

zsh-aws-vault

git clone https://github.com/jonscheiding/zsh-aws-vault \
  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-aws-vault

agnoster-aws-vault theme

The zshrc sets ZSH_THEME="agnoster-aws-vault", a custom variant of agnoster that shows the active aws-vault profile. Install it into the custom themes directory:

# Download or copy the theme file — adjust the source path as needed
cp path/to/agnoster-aws-vault.zsh-theme \
  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/agnoster-aws-vault.zsh-theme

2. mise — dev tool versions

mise manages tools such as: Java, Go, Maven, Gradle, Python, Node, Terraform, kubectl, MySQL, and coreutils.

Notes:

  • postgres and mysql install full server packages (not client-only). The CLI tools psql and mysql are included.
  • coreutils is the uutils Rust reimplementation, not GNU coreutils. Behavior is nearly identical.

Link the global config

mkdir -p ~/.config/mise
ln -sf "$(pwd)/mise/config.toml" ~/.config/mise/config.toml

Install all tools

mise install

3. Homebrew system tools

These are not managed by mise — install them via brew:

brew install \
  gnu-sed \
  gnu-getopt

4. Python / Anaconda

Anaconda is kept for data science environments. It is placed in PATH before mise so that mise Python wins by default, but conda activate <env> overrides it for specific environments. Install Anaconda separately from anaconda.com.


5. Link the zshrc

ln -f -P ./zsh/zshrc $HOME/.zshrc

Additional iTerm settings:

https://medium.com/@ThisIsUpen/how-to-jump-between-words-in-iterm2-3c22eb5a25ef https://stackoverflow.com/questions/32757635/how-to-preserve-iterm-folder-location-between-sessions

About

My personal dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages