This repository contains configuration files and setup scripts for a convenient and productive shell environment, primarily using zsh with Oh My Zsh, fzf, and useful plugins.
.zshrc— Main zsh configuration with aliases, functions, and plugin loading..bashrc— Minimal bash config that switches to zsh and initializes conda.setup_zsh.sh— Automated script to install Oh My Zsh, plugins, fzf, and copy configs.setup_git.sh— Script to interactively set your global Git user name and email..vscode/settings.json— (Optional) VSCode workspace settings.
-
Clone this repository:
git clone <this-repo-url> ~/dotfiles cd ~/dotfiles
-
Run the zsh setup script:
bash setup_zsh.sh
This will:
- Install Oh My Zsh (without changing your default shell)
- Install/update zsh-autosuggestions and zsh-syntax-highlighting
- Install/update fzf
- Copy
.zshrcand.bashrcto your home directory
-
Set up your Git identity:
bash setup_git.sh
-
Install miniconda
bash install_miniconda.sh
-
Restart your terminal (or run
exec zsh) to start using your new environment.
- Oh My Zsh with the
robbyrusselltheme - fzf for fuzzy searching and history navigation (Ctrl+R)
- zsh-autosuggestions and zsh-syntax-highlighting for productivity
- Handy aliases (
ll,..,grep, etc.) - Functions for:
- Quick git add/commit/push (
gacp "msg") - Conda environment activation (
act <env>) - Publishing conda envs as Jupyter kernels (
publish)
- Quick git add/commit/push (
- Sensible history and usability options
- Edit
.zshrcto add your own aliases or tweak settings. - The setup scripts are idempotent and can be re-run safely.
- The
.bashrcprovided simply switches to zsh and initializes conda for compatibility. - You may need to adjust the conda path in
.bashrcif your installation is not in/path/to/conda. - The setup scripts assume a Unix-like environment (Linux/macOS).