Modify and add to wp nav shortcuts
This commit is contained in:
parent
73cb7eeb77
commit
c84d552925
2 changed files with 43 additions and 5 deletions
|
@ -76,7 +76,8 @@ alias home="cd ~/"
|
|||
alias ~="cd ~/"
|
||||
|
||||
#Goes up to the public_html folder
|
||||
alias ph='cd ${PWD%/public_html*}/public_html'
|
||||
alias ph='cd ${${PWD%/public_html*}%/wiki*}/public_html'
|
||||
alias wiki='cd ${${PWD%/public_html*}%/wiki*}/wiki'
|
||||
|
||||
#Edit wp-config.php using $EDITOR
|
||||
alias conf='$EDITOR ${PWD%/public_html*}/public_html/wp-config.php'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue