Remove the .local.jh from the prompt

This commit is contained in:
Jonathan Hodgson 2018-02-02 16:58:40 +00:00
parent 9dd49d4ed6
commit 3303bca7d7

View file

@ -43,7 +43,7 @@ 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.jh/")
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1/")
fi