From 358ef2ac0ff67029559f5bcbb39eb9f2f8e8cbd3 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Mon, 28 May 2018 13:11:16 +1200 Subject: [PATCH] docs(zsh): add comments to .zshrc --- zsh/.zshrc | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 75b6ab7..8169610 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,22 +1,28 @@ -# Path to your oh-my-zsh installation. +# add ~/bin & /usr/local/bin to $PATH +export PATH=$HOME/bin:/usr/local/bin:$PATH + +# location of oh-my-zsh installation export ZSH=$HOME/.oh-my-zsh # theme ZSH_THEME="ys" -# disable omz updates +# automatically update oh-my-zsh without being prompted DISABLE_UPDATE_PROMPT=true -DISABLE_AUTO_UPDATE=true # plugins -plugins=(common-aliases git sudo gpg-agent ssh-agent) +plugins=( + common-aliases + git + sudo + gpg-agent + ssh-agent + docker +) # zsh-completions autoload -U compinit && compinit -# add ~/bin and /usr/local/bin to $PATH -export PATH=$HOME/bin:/usr/local/bin:$PATH - # source omz source $ZSH/oh-my-zsh.sh @@ -27,3 +33,7 @@ setopt EXTENDED_HISTORY # reduce linux syscalls export TZ=:/etc/localtime + +# ensure system is aware of browser/editor preference +export BROWSER="firefox-nightly" +export EDITOR="nvim"