The MacOS Memo
From ZENotes
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Created page with "To change your terminal prompt (& use bash):  - switch to bash with    csh /bin/bash  - exit terminal & open it again  - create a .bashrc file with, ie :    # configure my multi-...")  | 
		|||
| Line 17: | Line 17: | ||
  https://www.weblife.fr/tutoriels/os-x-terminal-personnalise-avec-le-fichier-bashrc?cn-reloaded=1  |   https://www.weblife.fr/tutoriels/os-x-terminal-personnalise-avec-le-fichier-bashrc?cn-reloaded=1  | ||
| + | |||
| + | Or set   | ||
| + | |||
| + |  source /Users/regie/.bashrc && clear  | ||
| + | |||
| + | in the terminal settimgs ; uglier but quicker.  | ||
Revision as of 13:07, 23 December 2023
To change your terminal prompt (& use bash):
- switch to bash with
csh /bin/bash
- exit terminal & open it again
- create a .bashrc file with, ie :
# configure my multi-line prompt PS1=' $PWD ==> '
Then macos will superbly ignore it. Go to here to not re-invent the wheeel like I just did :
https://www.weblife.fr/tutoriels/os-x-terminal-personnalise-avec-le-fichier-bashrc?cn-reloaded=1
Or set
source /Users/regie/.bashrc && clear
in the terminal settimgs ; uglier but quicker.