Remove the .local.jh from the prompt

Jonathan Hodgson 7 years ago
parent 9dd49d4ed6
commit 3303bca7d7
  1. 2
      config/oh-my-zsh/promptconfig.zsh

@ -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

Loading…
Cancel
Save