From daae9e12fd0932f5057d99b201e1bca10e2f50e3 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 8 May 2017 11:15:03 -0700 Subject: [PATCH 1/2] Updated pathing to use ~ instead of absolute path --- link/nix/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/link/nix/zshrc b/link/nix/zshrc index b88ebbd..153a42b 100644 --- a/link/nix/zshrc +++ b/link/nix/zshrc @@ -1,5 +1,5 @@ # Path to your oh-my-zsh installation. -export ZSH=/Users/gliverma/.oh-my-zsh +export ZSH=~/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. @@ -57,7 +57,7 @@ source $ZSH/oh-my-zsh.sh # User configuration -source ~/.private-env +[ -f ~/.private-env ] && source ~/.private-env # export MANPATH="/usr/local/man:$MANPATH" From 2427615ebb5b0d4f623f3d0bfd6d2aebf0bb8e10 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 9 May 2017 11:45:55 -0700 Subject: [PATCH 2/2] updated zshrc --- link/nix/zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/link/nix/zshrc b/link/nix/zshrc index 153a42b..0238dfc 100644 --- a/link/nix/zshrc +++ b/link/nix/zshrc @@ -51,7 +51,7 @@ COMPLETION_WAITING_DOTS="false" # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(brew bundler gem git git-flow history osx python vagrant) +plugins=(brew bundler gem git git-flow gpg-agent history osx python vagrant) source $ZSH/oh-my-zsh.sh @@ -71,7 +71,9 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" #alias ll='ls -G -l' #alias ls='ls -G' +alias sal='ssh-add -L' alias sz='source ~/.zshrc' +alias ykey='pkill gpg-agent && source ~/.zshrc && ssh-add -L' export EDITOR='vim' export POWERLINE_CONFIG_COMMAND='/usr/local/bin/powerline-config' @@ -82,3 +84,4 @@ export PATH=$PATH:/Applications/Araxis\ Merge.app/Contents/Utilities # added by travis gem [ -f /Users/gliverma/.travis/travis.sh ] && source /Users/gliverma/.travis/travis.sh +