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
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
beforecurl
if you're running into the errorzsh: no matches found: [...]
in zsh. This disables wildcard characters such as the?
which zsh uses for matching.
- Add
Alternatively you can clone this repo to ~/.dotfiles
and run ìnstall.sh
(safer)
Required:
-
Clone this folder to ~/.dotfiles
-
Install ohmyzsh
-
Install oh-my-zsh plugins
- zsh-autosuggestions - fish like autosuggestions
- zsh-syntax-highlighting - fish like syntax highlighting
- Update plugins to be
git zsh-autosuggestions zsh-syntax-highlighting
-
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
- Mac - Zsh