Add aliases anf modify prompt
This commit is contained in:
parent
1c1cd99c20
commit
f8a3dd1688
2 changed files with 25 additions and 0 deletions
|
@ -33,6 +33,10 @@ function my_dir(){
|
|||
|
||||
# Change wp-content in sub folders
|
||||
current_path=$(echo $current_path | sed -r -e "s/wp\-content\//wpc\//")
|
||||
|
||||
if [[ $(tput cols) -lt 100 ]]; then
|
||||
current_path=$(echo $current_path | sed -r -e "s/wpc\/themes\///")
|
||||
fi
|
||||
|
||||
elif [[ -e "$ph/bin/magento" ]]; then #If magento
|
||||
icon=$magentoSiteIcon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue