add .jh to promp config when in a site
This commit is contained in:
parent
2974e2e23a
commit
150c19846b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue