webdevRefinery Forum: Oh My ZSH will change your life. - webdevRefinery Forum

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Rate Topic: -----

User is online TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5167
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 01 May 2012 - 12:35 PM (#21)

Oh cool, so you're saying my mac comes with Bash and ZSH, it's just BASH is enabled by default?
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 707
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 01 May 2012 - 12:51 PM (#22)

ThatRailsGuy, on 01 May 2012 - 12:35 PM, said:

Oh cool, so you're saying my mac comes with Bash and ZSH, it's just BASH is enabled by default?

Well then all you should have to do is type
chsh -s /bin/zsh
I'm thinking. (I'm assuming that's where it's located im on my iphone)
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Lemon 

  • I have a dream...
  • Group: Members
  • Posts: 692
  • Joined: 24-February 11
  • Expertise:HTML,CSS,PHP,Javascript,Node.js,SQL

Posted 01 May 2012 - 01:02 PM (#23)

You can also right click your username and select "Advanced Options" in the Users & Groups section of System Preferences to change your default shell.
0


User is offline SapporoGuy 

  • Group: Members
  • Posts: 932
  • Joined: 10-June 11
  • LocationSonyLand

Posted 01 May 2012 - 01:44 PM (#24)

Sweet! Gonna have to try this!
So do we install your theme Kyek?

How do you convert back to plain Jane bsh?
0


User is offline Lemon 

  • I have a dream...
  • Group: Members
  • Posts: 692
  • Joined: 24-February 11
  • Expertise:HTML,CSS,PHP,Javascript,Node.js,SQL

Posted 01 May 2012 - 01:58 PM (#25)

SapporoGuy, on 01 May 2012 - 01:44 PM, said:

Sweet! Gonna have to try this!
So do we install your theme Kyek?

How do you convert back to plain Jane bsh?

You can use whatever theme you like from that page in the first post or make your own. Just like the default bash, chances are no current theme will precisely cover what you need so you'll benefit from customising one to suit your needs.

Changing back is just
chsh -s /bin/bash
and remove the ~/.oh-my-zsh directory if you want to too.
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5081
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 01 May 2012 - 03:20 PM (#26)

It's also worth noting that oh-my-zsh comes with a theme browser. Do this to run it (it's not very streamlined yet)
cd ~/.oh-my-zsh
export ZSH
./tools/theme_chooser.sh


The wiki page I linked earlier is easier to see the full listing, but this is a good way to walk through one-at-a-time and see how each will look with your own computer's information. It's a great way to find one that you want to customize, or take note of any that you want to look at to see how they work.
0


User is online TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5167
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 01 May 2012 - 03:26 PM (#27)

itom07, on 01 May 2012 - 12:51 PM, said:

Well then all you should have to do is type
chsh -s /bin/zsh
I'm thinking. (I'm assuming that's where it's located im on my iphone)

Yeah that works :D
Reserved.
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 707
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 01 May 2012 - 04:39 PM (#28)

Here are my 2<cents, One I like the colors and plan on changing them, Also I found the $PATH I had been missing that didn't allow me to use that peskey
where ...
command.

Next You'd never believe how smooth it is until your theme reflects a 'smokey jazz' feeling.

Last, Me being king of deleting important stuff had deleted my zsh stuff before and was forced to use the oh-my-zsh installer, It works great and is quick also.

Questions:
In the .zshrc file I changed it so that it looks like this :
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/zsh-fav/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="kyek"


This fails why? because if my theme is set to robbyrussell (the default copied to that folder) it works.


I copied kyeks code strait into a file and titled it kyek.zsh-theme and placed it in zsh-fav

edit:
this works but I do not want the zsh-fav in front of kyek.
ZSH_THEME="zsh-fav/kyek"

ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Cyril 

  • Group: Members
  • Posts: 2544
  • Joined: 03-August 10
  • Expertise:HTML,CSS,PHP,Javascript,Graphics

Posted 01 May 2012 - 05:52 PM (#29)

You should put your
kyek.zsh-theme
inside
~/.oh-my-zsh/themes


website :: github :: twitter :: dribbble :: forrst
html, css, php, javascript, graphics
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 707
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 01 May 2012 - 05:53 PM (#30)

Cyril, on 01 May 2012 - 05:52 PM, said:

You should put your
kyek.zsh-theme
inside
~/.oh-my-zsh/themes


Isn't that the directory of all themes, plus its just a comment.


edit: My theme
Posted Image
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Cyril 

  • Group: Members
  • Posts: 2544
  • Joined: 03-August 10
  • Expertise:HTML,CSS,PHP,Javascript,Graphics

Posted 01 May 2012 - 06:22 PM (#31)

Erm. Isn't that the default one? (Rhetorical question)

website :: github :: twitter :: dribbble :: forrst
html, css, php, javascript, graphics
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 707
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 01 May 2012 - 06:24 PM (#32)

Cyril, on 01 May 2012 - 06:22 PM, said:

Erm. Isn't that the default one? (Rethorical question)

I changed the blue shade, red shade and background. (Not rhetorical answer)
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is offline Cyril 

  • Group: Members
  • Posts: 2544
  • Joined: 03-August 10
  • Expertise:HTML,CSS,PHP,Javascript,Graphics

Posted 01 May 2012 - 06:27 PM (#33)

itom07, on 01 May 2012 - 06:24 PM, said:

I changed the blue shade, red shade and background. (Not rhetorical answer)


Oh right -- but you didn't really change anything else than the colors (+, the colors are similar).

I really like that about it; I was able to very easily create a different "syntax" for my terminal :)

website :: github :: twitter :: dribbble :: forrst
html, css, php, javascript, graphics
0


User is offline @Tom 

  • space
  • Group: Members
  • Posts: 707
  • Joined: 24-May 11
  • Locationspace
  • Expertise:Python

Posted 01 May 2012 - 06:29 PM (#34)

Super edit:

iterm2 lets you export color schemes, thats news to me :blink:
ocelotapps.com
jr wdR comedian under ThatRailsGuy

View Postarronhunt, on 30 June 2012 - 10:09 PM, said:

Sir you are the first person to make me piss myself laughing. Kudos.
0


User is online callumacrae 

  • {{ post.author }}
  • Group: Members
  • Posts: 2867
  • Joined: 20-January 11
  • LocationWarwickshire, England
  • Expertise:HTML,CSS,PHP,Javascript,Node.js,SQL

Posted 02 May 2012 - 12:36 AM (#35)

Speaking of changing colours, how do I change the blue to a lighter shade of blue? I can't read it.

I'm using Terminal.app, not iTerm2.
Front-end developer and writer
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5081
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 02 May 2012 - 07:48 AM (#36)

View Postcallumacrae, on 02 May 2012 - 12:36 AM, said:

Speaking of changing colours, how do I change the blue to a lighter shade of blue? I can't read it.

I'm using Terminal.app, not iTerm2.

You should really consider iTerm2 -- its features are way above and beyond what Terminal.app is capable of.

With that said, though, just open the Terminal.app preferences, hit the 'settings' tab, find a theme you like, duplicate it, hit the "Default" button on it, and then in the 'Text' tab you can tweak the shades of blue (or any other color) to match better. If you're using my theme and/or want to go with the terminal settings I recommended, you can also untick "Use bold fonts" and tick "Use bright colors for bold text" instead. Now, when you turn colors bold in your prompt, they'll be more readable on a dark background. I believe Menlo is also the default font, so you're good to go there :)
0


User is offline _Sam 

  • Beep Beep
  • Group: Members
  • Posts: 643
  • Joined: 11-March 10
  • LocationZurich, Switzerland
  • Expertise:HTML,CSS

Posted 02 May 2012 - 08:28 AM (#37)

I've installed zsh and I'm not that much impressed yet. Some functionality you described doesn't work.
Is there another way to install the oh my zsh stuff? I'm not a fan of that curl stuff, didn't work with npm and doesn't work with this now. Can't there just be some tar.gz file with some Makefile inside to install it?
(ಠ_ಠ)
0


User is offline Kyek 

  • Founder of wdR
  • Group: Administrators
  • Posts: 5081
  • Joined: 20-February 10
  • LocationPhiladelphia, PA, USA
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 02 May 2012 - 09:24 AM (#38)

View Post_Sam, on 02 May 2012 - 08:28 AM, said:

I've installed zsh and I'm not that much impressed yet. Some functionality you described doesn't work.

There seem to be some differences in implementation. At home on my laptop, I can do the history search with the prefix thing -- at work, I can't. I haven't looked into it yet, though. So there may be some tweaking involved depending on your setup.

Quote

Is there another way to install the oh my zsh stuff? I'm not a fan of that curl stuff, didn't work with npm and doesn't work with this now. Can't there just be some tar.gz file with some Makefile inside to install it?

Sure -- in one of my earlier posts, I outlined that it's really just a .zshrc file that includes stuff from the ~/.oh-my-zsh directory. So you can take my .zshrc from earlier, and just clone the oh-my-zsh git repo into ~/.oh-my-zsh. No need to make or compile or anything like that -- this isn't a program, it's a collection of configuration files with a smattering of shell scripting.
0


User is online callumacrae 

  • {{ post.author }}
  • Group: Members
  • Posts: 2867
  • Joined: 20-January 11
  • LocationWarwickshire, England
  • Expertise:HTML,CSS,PHP,Javascript,Node.js,SQL

Posted 02 May 2012 - 10:00 AM (#39)

View PostKyek, on 02 May 2012 - 07:48 AM, said:

You should really consider iTerm2 -- its features are way above and beyond what Terminal.app is capable of.

I tried it, and I just didn't like it. I had never had any problems with Terminal.app in the first place, and stuff like resizing iTerm2 was just horrific. I'll give it another try to see if it has improved.
Front-end developer and writer
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
0


User is offline _Sam 

  • Beep Beep
  • Group: Members
  • Posts: 643
  • Joined: 11-March 10
  • LocationZurich, Switzerland
  • Expertise:HTML,CSS

Posted 02 May 2012 - 10:11 AM (#40)

Thanks didn't notice that. It works now, will need to customize some stuff have a lot of ? atm :D
(ಠ_ಠ)
0


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services