Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

If You like randoms colors on the Mac Terminal, here a way to achive it. The script isself is from the Internet, courtesy to Daniel Jalkut.

I have placed my script in ~/Dropbox/Scripts/osx/RandomColorTerminal.scpt

The are a few ways to get a new Teminal color for each started Terminal:

A. I have placed it in  in ~/.profile the script can be called:

Kodeblok
osascript ~/Dropbox/Scripts/osx/RandomColorTerminal.scpt


B. Running and is running it everytime a Terminal is launched via the Terminal preferences (use osascript to launch the script file) - Dropbox is just used so my script are available anywhere.:

B. in ~/.profile the script can be called:

Kodeblok
osascript ~/Dropbox/Scripts/osx/RandomColorTerminal.scpt

 

This gives a new color in the Terminal every time

...