Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #terminal

Customize OSX terminal prompt

How to customize default terminal prompt which looks like this?

ComputerName Directory UserName$<br />

simply define PS1 variable with required format. To display only full path, use following:

export PS1=&quot;\w $&quot;<br />
  • \d – date
  • \t – time
  • \h – hostname
  • \# – command number
  • \u – username
  • \W – current directory (e.g.: Desktop)
  • \w – current directory path (e.g.: /Users/Admin/Desktop)

External links:

03 Jan 2014

Posted by: ludek.vodicka

Linux Mac OS #Linux #terminal #osx #prompt

How to setup MacOS terminal to have color output

Add these lines to your ~/.bash_profile file.

export CLICOLOR=1</p>
<p>#if your're using white background<br />
export LSCOLORS=ExFxCxDxBxegedabagacad</p>
<p>#if your're using black backgroud<br />
#export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx<br />
30 Aug 2012

Posted by: ludek.vodicka

Mac OS #MacOs #terminal