Adds conf alias to edit wp-config.php
This commit is contained in:
		
							parent
							
								
									f1de4553d2
								
							
						
					
					
						commit
						a8bc3522f3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -78,6 +78,9 @@ alias ~="cd ~/" | |||
| #Goes up to the public_html folder | ||||
| alias ph='cd ${PWD%/public_html*}/public_html' | ||||
| 
 | ||||
| #Goes up to the public_html folder | ||||
| alias conf='$EDITOR ${PWD%/public_html*}/public_html/wp-config.php' | ||||
| 
 | ||||
| # Quit the terminal using :q (The same as Vi/Vim) | ||||
| alias :q='exit;' | ||||
| 
 | ||||
|  | @ -140,3 +143,4 @@ alias v="vim" | |||
| #Servers Memory | ||||
| alias servermem='toilet -w 200 "VPS 01" && ssh shires free -h && toilet -w 200 "VPS 02" && ssh abc free -h && toilet -w 200 "VPS 03" && ssh cdc2 free -h && toilet -w 200 "Freightliner" && ssh freightliner free -h && toilet -w 200 "NHS" && ssh nhs free -h' | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue