install zsh ubuntu 14.04 LTS

What I did is…

open ubuntu software center and install “Shell with lots of features” (the first one on top when search by “zsh”)

then did this (alternate way to install zsh) and, got “don’t have to” message.

$ sudo apt-get update && sudo apt-get install zsh 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zsh is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

then went to “oh-my-zsh” and follow the guides

$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
$ chsh -s /bin/zsh 

reopen terminal and then… restart Ubuntu and then.

$ subl ~/.zshrc

open and edit this file…

ZSH_THEME="robbyrussell"
plugins=(git)

into

ZSH_THEME="ys"
plugins=(git rbenv gem bundler)

find themes

$ cd ~/.oh-my-zsh/themes/
$ ls

https://github.com/robbyrussell/oh-my-zsh/wiki/themes

And I found those plugin names

$ cd ~/.oh-my-zsh/plugins
$ ls

https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins

And change font size little bigger… 16! (on Terminal “profile” menu) Yes, I did this today.

 
0
Kudos
 
0
Kudos

Now read this

local time in Rails app

This is what I found: when I did Time.now in Ruby, it returns my local time (my system time, I should say). when I did Time.zone.now or Time.now.in_time_zone in any Rails file it shows the time as set it up on config/application.rb:... Continue →