Remove the .local.jh from the prompt

master
Jonathan Hodgson 7 years ago
parent bdff17ac42
commit 9e1217af4d
  1. 2
      config/oh-my-zsh/promptconfig.zsh

@ -43,7 +43,7 @@ function my_dir(){
elif [[ -e "$ph/bin/magento" ]]; then #If magento elif [[ -e "$ph/bin/magento" ]]; then #If magento
icon=$magentoSiteIcon icon=$magentoSiteIcon
fi fi
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1.local.jh/") current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1/")
fi fi

Loading…
Cancel
Save