From e09b926999495cdeb5dbb7bd08712e6488d6c899 Mon Sep 17 00:00:00 2001 From: eeva Date: Tue, 14 Mar 2017 15:18:12 +0100 Subject: [PATCH] Default path for oh-my-zsh install --- zsh/.zshrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 60287e3..022ffa9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,12 +1,11 @@ # Path to your oh-my-zsh installation. -export ZSH=$HOME/.oh-my-zsh +export ZSH=$(nix-env -q --out-path oh-my-zsh | cut -d' ' -f 3)/share/oh-my-zsh # Default plugins (used everywhere) -plugins=(git systemd) +plugins=(git systemd rsync) ZSH_THEME="zhann" DISABLE_AUTO_UPDATE="true" -source $ZSH/oh-my-zsh.sh export EDITOR='vim' @@ -36,3 +35,7 @@ fi if [ -f "$HOME/.dir_colors" ]; then eval `dircolors ~/.dir_colors` fi +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +source $ZSH/oh-my-zsh.sh