Show thumbnails in Mac terminal?

06
2014-04
  • Maximus

    Some time ago I've googled nice screenshot of Mac terminal

    enter image description here

    How it can be possible? Special terminal application or special settings of ls?

  • Answers
  • jayhendren

    This appears to be a terminal emulator running on a Linux machine sshd into an OS X box. E.g.: terminology

  • Deesbek

    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.

  • Harikrishnan

    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!


  • Related Question

    osx - Anyone know how can I turn my Mac terminal into this?
  • Questioner

    How can I make my Mac terminal look like the screenshot below? The input line is cool and seems useful.

    enter image description here


  • Related Answers
  • Palantir

    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.

    See: http://beckism.com/2009/02/better%5Fbash%5Fprompt/

  • Daniel Cukier

    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.