Add comments

This commit is contained in:
Jonathan Hodgson 2018-04-23 17:26:20 +01:00
parent e8b2b2e541
commit 3b37debbf7
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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