Advertisement
gilcierweb

Custom path Terminal Linux Style Mac OS

Dec 22nd, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. #Custom path Terminal Linux
  2. #Open file ~/.bashrc
  3.  
  4. gedt ~/.bashrc
  5.  
  6. #Add line down
  7.  
  8. # Terminal Linux custom path = gilcierweb@socketioror:$
  9. export PS1="\u@\W:$ "
  10.  
  11. #save
  12. #after in terminal execute
  13.  
  14. source ~/.bashrc
  15.  
  16. #Result path terminal
  17. gilcierweb@socketioror:$ cd nodejs/
  18. gilcierweb@nodejs:$
  19.  
  20. #Ref:
  21. #http://www.understudy.net/custom.html
  22. #http://gilcierweb.com.br
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement