The MacOS Memo

From ZENotes
(Difference between revisions)
Jump to: navigation, search
Line 18: Line 18:
 
  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  
+
Or set in
  
 
  source /Users/regie/.bashrc && clear
 
  source /Users/regie/.bashrc && clear
  
in the terminal settimgs ; uglier but quicker.
+
in the terminal settimgs / Profiles / Shell ; 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 in

source /Users/regie/.bashrc && clear

in the terminal settimgs / Profiles / Shell ; uglier but quicker.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox