Small tweaks

This commit is contained in:
Jonathan Hodgson 2018-02-02 12:10:11 +00:00
parent 20a276dbf3
commit 7b16aa9281
3 changed files with 22 additions and 3 deletions

View file

@ -37,6 +37,7 @@ function my_dir(){
if [[ $(tput cols) -lt 100 ]]; then
current_path=$(echo $current_path | sed -r -e "s/wpc\/themes\//\//")
current_path=$(echo $current_path | sed -r -e "s/wpc\/plugins\//\//")
fi
elif [[ -e "$ph/bin/magento" ]]; then #If magento