kushagharahi / .dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.dotfiles

My dotfiles

  • Installs oh-my-zsh plus a few opinioned plugins
  • Automates ssh key setup
  • Works on macOS and Ubuntu
  • Features fish like autosuggestions and syntax highlighting
  • Few aliases to make life easier
  • ubuntu ssh-agent auto start/add identities

Usage

Automated setup

Run the install script:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/kushagharahi/.dotfiles/master/install.sh)"
  • GitHub will cache this script, if you are actively developing/pushing, add ?token=$(date +%s) to the end of the url to get around this.
    • Add noglob before curl if you're running into the error zsh: no matches found: [...] in zsh. This disables wildcard characters such as the ? which zsh uses for matching.

Alternatively you can clone this repo to ~/.dotfiles and run ìnstall.sh (safer)

Manual setup

Required:

  1. Clone this folder to ~/.dotfiles

  2. Install ohmyzsh

  3. Install oh-my-zsh plugins

  4. Export dotfiles - Paste snippet below in .zshrc. Ensure this repository is cloned as ~/.dotfiles

    • Mac - Zsh
      source ~/.dotfiles/.dotfiles-setup-mac
      
    • Ubuntu - Zsh
      source ~/.dotfiles/.dotfiles-setup-ubuntu
      

About

My dotfiles


Languages

Language:Shell 100.0%