diff --git a/shells/aliases b/shells/aliases index 3f0d0b5b..e8b5d754 100644 --- a/shells/aliases +++ b/shells/aliases @@ -78,7 +78,7 @@ alias ~="cd ~/" #Goes up to the public_html folder 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' # Quit the terminal using :q (The same as Vi/Vim) diff --git a/shells/functions b/shells/functions index a72a689e..2c6dc319 100644 --- a/shells/functions +++ b/shells/functions @@ -187,6 +187,7 @@ function themes() { fi } +#This function toggles debug in wp-config function debugToggle(){ public_html=${PWD%/public_html*}/public_html if [ -d $public_html ]; then