Add comments

Jonathan Hodgson 7 years ago
parent 3864f2f932
commit ba399343fb
  1. 2
      shells/aliases
  2. 1
      shells/functions

@ -78,7 +78,7 @@ alias ~="cd ~/"
#Goes up to the public_html folder #Goes up to the public_html folder
alias ph='cd ${PWD%/public_html*}/public_html' alias ph='cd ${PWD%/public_html*}/public_html'
#Goes up to the public_html folder #Edit wp-config.php using $EDITOR
alias conf='$EDITOR ${PWD%/public_html*}/public_html/wp-config.php' alias conf='$EDITOR ${PWD%/public_html*}/public_html/wp-config.php'
# Quit the terminal using :q (The same as Vi/Vim) # Quit the terminal using :q (The same as Vi/Vim)

@ -187,6 +187,7 @@ function themes() {
fi fi
} }
#This function toggles debug in wp-config
function debugToggle(){ function debugToggle(){
public_html=${PWD%/public_html*}/public_html public_html=${PWD%/public_html*}/public_html
if [ -d $public_html ]; then if [ -d $public_html ]; then

Loading…
Cancel
Save