add .jh to promp config when in a site
This commit is contained in:
parent
e26f06313b
commit
00399b6978
1 changed files with 2 additions and 1 deletions
|
@ -37,10 +37,11 @@ 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/")
|
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Sites\/([a-z_\-]*)\/public_html/$icon\1.local.jh/")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Replace Dropbox with icon
|
# Replace Dropbox with icon
|
||||||
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Dropbox/$dropboxIcon/")
|
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Dropbox/$dropboxIcon/")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue