All Projects → miguelmota → mootron

miguelmota / mootron

Licence: MIT license
A Tron like terminal theme

Programming Languages

Vim Script
2826 projects

MOOTRON

A Tron like terminal theme.

Instructions (Mac OSX)

  • Install font
  • Go to Terminal -> Preferences -> Settings, click cog at the bottom and import Mootron.terminal.
  • Go to Window tab and set background color to black 90% opacity and choose background image.
  • If you want to be hardcore, then on the Text tab uncheck Display ANSI colors.

Tron blue: #6FC3DF

Vim theme

Copy warez.vim to ~/.vim/colors, and enable theme in ~/.vimrc:

syntax enable
colorscheme warez

Prompt

Light cyan prompt color with git status, add in ~/.bashrc:

function parse_git_dirty {
  [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"
}
function parse_git_branch {
  git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/"
}

export PS1='\n\n\[\033[0;36m\]\u@$(hostname)\[\033[00m\]\[\033[0;96m\] : \w\[\033[00m\] \[\033[00;96m\]$(parse_git_branch)\n\[\033[00;96m\]\$\[\033[00m\] '
export PS2="\[\033[0;96m\]>\[\033[00m\] "

Take effect:

source ~/.bashrc

Other stuff

I also have tmux and Powerline installed. I can't gurantee that it will look exactly the same for you because of all the other stuff I have installed. If you're curious here are all my dotfiles and vim config. To get the Powerline symbols, use the Deja Vu Sans Mono for Powerline font.

Sources

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].