Skip to content

Edlison/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Personal dotfiles managed with zsh and oh-my-zsh.

Quick Install

curl -fsSL https://iid.sh/dot/install.sh | bash

Or run directly (after cloning):

bash install.sh

The install script will:

  1. Check if zsh is installed
  2. Install oh-my-zsh if not present
  3. Clone/update dotfiles into ~/.dotfiles (requires git)
  4. Create symlinks for config files (.gitconfig, .tmux.conf, .vimrc)
  5. Link .zshrc to the dotfiles version

Uninstall

curl -fsSL https://iid.sh/dot/uninstall.sh | bash

Optional: also remove ~/.dotfiles and/or ~/.oh-my-zsh

bash uninstall.sh --remove-dotfiles --remove-omz

Prerequisites

Structure

.dotfiles/
├── install.sh          # Installation script
├── uninstall.sh        # Uninstall script
├── .zshrc              # Main zsh config (entry point)
├── .bashrc             # Bash fallback
├── zsh/
│   ├── settings.zsh    # oh-my-zsh settings, theme, plugins
│   ├── alias.zsh       # Custom aliases
│   ├── envs.zsh        # Environment variables
│   └── links.zsh       # Symlink setup (called by install.sh)
├── git/
│   └── .gitconfig      # Git configuration
├── tmux/
│   └── .tmux.conf      # Tmux configuration
└── vim/
    └── .vimrc          # Vim configuration

Manual Setup (Bash only)

If you don't have permission to use zsh:

# Append bash config
cat .bashrc >> ~/.bashrc

# Create config symlinks manually
bash zsh/links.zsh

Additional Setup

Extensions

This repo supports optional extensions to keep the base lightweight. To install extensions, run:

sh extensions/install.sh

pyenv

Usage example:

pyenv install 3.12.3
pyenv global 3.12.3

uv

Usage example:

uv venv
uv add numpy

Conda

If using Anaconda/Miniconda:

/path/to/anaconda/bin/conda init zsh

Git SSH Auth

  1. Upload your private key to ~/.ssh/keys/

  2. Add to ~/.ssh/config:

Host gh
    HostName github.com
    User git
    IdentityFile ~/.ssh/keys/your_key
  1. Test connection:
ssh -T git@gh

About

Quick start in a very new environment

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •