Add comments
This commit is contained in:
parent
e8b2b2e541
commit
3b37debbf7
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue