From ba399343fb45b982ec217ec0a3557b3c5e0998fe Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 23 Apr 2018 17:26:20 +0100 Subject: [PATCH] Add comments --- shells/aliases | 2 +- shells/functions | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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