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

Jump to content

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

Rate Topic: -----

User is offline @Tom 

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

Posted 23 May 2012 - 02:45 PM (#61)

View Postianonavy, on 23 May 2012 - 01:07 PM, said:

In that case, go to
~/.oh-my-zsh/lib/correction.zsh
and add the line
alias hg='nocorrect hg'
.

I shall be taking partial credit for that :)
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 AwesomezGuy 

  • Certified Asshole™
  • Group: Members
  • Posts: 1245
  • Joined: 08-March 10
  • LocationIreland
  • Expertise:HTML,CSS,PHP,Javascript,SQL

Posted 03 June 2012 - 10:25 AM (#62)

I just installed ZSH on my Debian VPS, and I'm loving it, especially your theme Kyek. You mentioned that awesome feature of going back to the beginning of a command. But when I hit ESC, nothing happens... Helpz?
0


User is offline Mack 

  • http://mackgoodstein.com/
  • Group: Members
  • Posts: 2070
  • Joined: 08-March 10
  • Expertise:HTML,CSS,PHP,Javascript

Posted 03 June 2012 - 08:00 PM (#63)

Apparently Lion's resume only works with bash :( I like ZSH, but that feature was really nice.
0


User is offline gibbonweb 

  • 兄ヨハネス
  • Group: Members
  • Posts: 2061
  • Joined: 23-June 10
  • LocationMunich(DE)
  • Expertise:HTML,CSS,PHP,Javascript,Python,SQL,Graphics

Posted 04 June 2012 - 04:28 AM (#64)

pure awesomeness.
read about zsh before but never felt a "need" for it - just installed it right now and its really, really really so much better!

Update, one problem came up though:
Since changing to ZSH, I always have to provide my github username & password every time I perform a github transaction. Couldn't find anything relevant in my ~/.profile file - am I missing something or do I have to configure ZSH in some way to handle github transparently like my bash config did (without me doing anything specific I recall...)?
0


User is offline AwesomezGuy 

  • Certified Asshole™
  • Group: Members
  • Posts: 1245
  • Joined: 08-March 10
  • LocationIreland
  • Expertise:HTML,CSS,PHP,Javascript,SQL

Posted 04 June 2012 - 05:12 AM (#65)

View Postgibbonweb, on 04 June 2012 - 04:28 AM, said:

pure awesomeness.
read about zsh before but never felt a "need" for it - just installed it right now and its really, really really so much better!

Update, one problem came up though:
Since changing to ZSH, I always have to provide my github username & password every time I perform a github transaction. Couldn't find anything relevant in my ~/.profile file - am I missing something or do I have to configure ZSH in some way to handle github transparently like my bash config did (without me doing anything specific I recall...)?

Just use SSH keys like everyone else :P
0


User is offline gibbonweb 

  • 兄ヨハネス
  • Group: Members
  • Posts: 2061
  • Joined: 23-June 10
  • LocationMunich(DE)
  • Expertise:HTML,CSS,PHP,Javascript,Python,SQL,Graphics

Posted 04 June 2012 - 06:39 AM (#66)

View PostAwesomezGuy, on 04 June 2012 - 05:12 AM, said:

Just use SSH keys like everyone else :P

Duh, I do. It just seems like my keys are not recognized when I use zsh? I've never used password authentication using bash...
0


User is offline AwesomezGuy 

  • Certified Asshole™
  • Group: Members
  • Posts: 1245
  • Joined: 08-March 10
  • LocationIreland
  • Expertise:HTML,CSS,PHP,Javascript,SQL

Posted 04 June 2012 - 07:04 AM (#67)

View Postgibbonweb, on 04 June 2012 - 06:39 AM, said:

Duh, I do. It just seems like my keys are not recognized when I use zsh? I've never used password authentication using bash...

Strange, just make sure the keys are in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub and it should work...
Works fine for me anyway
0


User is offline gibbonweb 

  • 兄ヨハネス
  • Group: Members
  • Posts: 2061
  • Joined: 23-June 10
  • LocationMunich(DE)
  • Expertise:HTML,CSS,PHP,Javascript,Python,SQL,Graphics

Posted 04 June 2012 - 08:23 AM (#68)

View PostAwesomezGuy, on 04 June 2012 - 07:04 AM, said:

Strange, just make sure the keys are in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub and it should work...
Works fine for me anyway

really strange - NOW it works - a few hours ago I had to type in my credentials for every push... Well, problem seems to have resolved itself :unsure:

...update: it was this, which has nothing to do with ZSH, pure coincidence that I started working on a repo which I had cloned over ssh for the first time right after switching to ZSH... the facepalm.
0


User is offline Kyek 

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

Posted 05 June 2012 - 07:49 AM (#69)

View PostAwesomezGuy, on 03 June 2012 - 10:25 AM, said:

I just installed ZSH on my Debian VPS, and I'm loving it, especially your theme Kyek. You mentioned that awesome feature of going back to the beginning of a command. But when I hit ESC, nothing happens... Helpz?

The ESC thing only works if you have the vim plugin enabled. Then you hit ESC and nothing will change except for the fact that you'll be in a vim-like command mode, so hit capital i and THEN your cursor will be at the beginning ;-). If the vim plugin isn't on, it defaults to Emacs-style editing. So the same basic features are available ... they're just 30 times more annoying ;-).
0


User is offline _Sam 

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

Posted 05 June 2012 - 08:01 AM (#70)

I have set it up so it knows my aliases and has some nice color and looks basically like my normal bash, but it is way to slow and buggy for me to use. I haven't really seen any benefit from it so far.
(ಠ_ಠ)
0


User is offline @Tom 

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

Posted 26 July 2012 - 12:29 PM (#71)

MT Lion has issues with oh-my-zsh.

git_compare_version:4: command not found: git


This is at the start whenever I open terminal window.
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 gibbonweb 

  • 兄ヨハネス
  • Group: Members
  • Posts: 2061
  • Joined: 23-June 10
  • LocationMunich(DE)
  • Expertise:HTML,CSS,PHP,Javascript,Python,SQL,Graphics

Posted 26 July 2012 - 02:07 PM (#72)

View Post@Tom, on 26 July 2012 - 12:29 PM, said:

MT Lion has issues with oh-my-zsh.

git_compare_version:4: command not found: git


This is at the start whenever I open terminal window.

ok, i'm NOT going to upgrade to mountain lion.
0


User is offline @Tom 

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

Posted 26 July 2012 - 02:08 PM (#73)

View Postgibbonweb, on 26 July 2012 - 02:07 PM, said:

ok, i'm NOT going to upgrade to mountain lion.


Ha, thats the only issue. Git still works but that annoying comment is there. It happend with lion also but OMZ fixed it. The comment is being displayed incorrectly because the git command works perfectly.
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: 686
  • Joined: 24-February 11
  • Expertise:HTML,CSS,PHP,Javascript,Node.js,SQL

Posted 26 July 2012 - 05:05 PM (#74)

View Post@Tom, on 26 July 2012 - 12:29 PM, said:

MT Lion has issues with oh-my-zsh.

git_compare_version:4: command not found: git


This is at the start whenever I open terminal window.

That's not really a massive showstopper, that's just Git either being uninstalled or moved to an unexpected directory outside your specified path. Check that git is installed and if it is then check the git plugin file in the oh-my-zsh directory. I'll probably be installing ML in an hour or two and if I have the same issue with git I'll see if I can put together a patch to fix it.
Posted Image
In the end, it's not the years in your life that count. It's the life in your years
0


User is offline @Tom 

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

Posted 26 July 2012 - 06:29 PM (#75)

View PostLemon, on 26 July 2012 - 05:05 PM, said:

That's not really a massive showstopper, that's just Git either being uninstalled or moved to an unexpected directory outside your specified path. Check that git is installed and if it is then check the git plugin file in the oh-my-zsh directory. I'll probably be installing ML in an hour or two and if I have the same issue with git I'll see if I can put together a patch to fix it.


Dont worry about it, I replied to an issue from when it happened during lion installs and someone replied with this.

https://gist.github.com/1860902
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 markbrown4 

  • Group: Members
  • Posts: 385
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML,CSS,Javascript,Ruby on Rails,Graphics

Posted 26 July 2012 - 07:03 PM (#76)

Posted Image
One of my favorite things is being able to see if there local changes in a directory at a glance - The yellow cross on the right.
0


User is offline Kyek 

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

Posted 26 July 2012 - 08:51 PM (#77)

View Postmarkbrown4, on 26 July 2012 - 07:03 PM, said:

Posted Image
One of my favorite things is being able to see if there local changes in a directory at a glance - The yellow cross on the right.

I do that too -- fantastically helpful :)

Regarding the Mountain Lion thing, though... not sure what's up with your config, @Tom (though it sounds like something was wrong since well before you installed Mountain Lion) but I upgraded my home and work systems today and my Zsh is running excellently, as well as git.
0


User is online Daniel15 

  • dan.cx
  • Group: Moderators
  • Posts: 3415
  • Joined: 17-April 10
  • LocationMelbourne, Australia
  • Expertise:HTML,CSS,PHP,Java,Javascript,Node.js,SQL

Posted 11 May 2013 - 08:36 AM (#78)

I saw this slide deck posted on Twitter recently: http://www.slideshar...-shell-16194692

Points out some really handy Zsh features that I didn't know about :)
Daniel15! :D
Posted Image

Repeat after me: jQuery is not JavaScript. It is not the answer to every JavaScript-related question. When you have to write some JavaScript, do not instantly react with "Oh, I'll do that with jQuery!"

Spoiler
0


Share this topic:


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

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


Enter your sign in name and password


Sign in options
  Or sign in with these services