From 150c19846b9d6f7e4341544399bd719335d05c25 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 19 Dec 2017 11:41:02 +0000 Subject: [PATCH] add .jh to promp config when in a site --- config/oh-my-zsh/promptconfig.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/oh-my-zsh/promptconfig.zsh b/config/oh-my-zsh/promptconfig.zsh index 5f4df738..c395124f 100644 --- a/config/oh-my-zsh/promptconfig.zsh +++ b/config/oh-my-zsh/promptconfig.zsh @@ -37,10 +37,11 @@ function my_dir(){ elif [[ -e "$ph/bin/magento" ]]; then #If magento icon=$magentoSiteIcon fi - current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1.local/") + current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1.local.jh/") fi + # Replace Dropbox with icon current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Dropbox/$dropboxIcon/")