add .jh to promp config when in a site

master
Jonathan Hodgson 6 years ago
parent e26f06313b
commit 00399b6978
  1. 3
      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/")

Loading…
Cancel
Save