Show thumbnails in Mac terminal?
2014-04
Some time ago I've googled nice screenshot of Mac terminal
How it can be possible? Special terminal application or special settings of ls
?
This appears to be a terminal emulator running on a Linux machine ssh
d into an OS X box. E.g.: terminology
This is not possible with the native Terminal app on Apple OS X.
Your screenshot looks like it is from an Ubuntu box running gnome-terminal.
It's ubuntu
, not Mac OS
. Didn't you see the terminal background color? It's default terminal background color of ubuntu.
He just changed the hostname by command hostname dennis-MacBookPro
.
Nice prank!
How can I make my Mac terminal look like the screenshot below? The input line is cool and seems useful.
You mean the prompt line? That is done by setting the PS1 environment variable in the .bashrc file (or .bash_profile) in your home directory.
It seems that the guy in the picture you sent uses Rails and GIT. If you are using git, you should download GIT Bash Completition to and change your .bash_profile, including this 2 lines:
source ~/.git-completion.bash
export PS1='\[\033[38m\]\u@\h\[\033[01;34m\] \w \[\033[31m\]`git branch 2> /dev/null | grep \* | head -1 | sed "s/\* //g" | awk "{ print \"(\" \\\$1 \")\" }"`\[\033[29m\]$\[\033[00m\] '
With this you will have a nice prompt, which tells you what branch you are.