From 675b0115ca98cfb26d688629b4c135b0bee1ef74 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 4 Sep 2017 14:37:16 -0700 Subject: [PATCH] export a variable for the icloud folder --- zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 67f601f..67a17a0 100755 --- a/zshrc +++ b/zshrc @@ -76,7 +76,11 @@ if mac; then fi if [[ -r "$ZDOTDIR/zlocal" ]]; then - source "$ZDOTDIR/zlocal" + source "$ZDOTDIR/zlocal" +fi + +if [[ -d ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ]]; then + export icloud=~/Library/Mobile\ Documents/com\~apple\~CloudDocs fi # 4. Shell Options