Using Different Shell Prompt

1 view
Skip to first unread message

John Mewhort

unread,
Nov 17, 2009, 3:22:04 PM11/17/09
to 75...@googlegroups.com
I'm curious why some of you guys use a different command line shell prompt instead of just sticking with Terminal?  Are there any benefits for using something other than Terminal or is it just a preference thing? 

If you do use something other than Terminal...please share or point me to a link somewhere so I can learn why I should think about using something different.

Thanks,
John -  Jedi in Training

PS I just discovered www.peepcode.com.  Great tutorials for a newbie like myself!  :-)

Brennan Dunn

unread,
Nov 17, 2009, 3:33:01 PM11/17/09
to 75...@googlegroups.com
A standard OS X install is going to set your user up with bash for the shell. I know Ken and I both use ZSH, which we both swear by. My ZSH dotfiles are available at http://github.com/brennandunn/zsh_dotfiles and there are plenty of articles online that discuss ZSH and how to set it as your shell.

-Brennan


--
You are subscribed to the 757.rb Google Groups
 
To post to this group, send email to 75...@googlegroups.com
Googl Group Page: http://groups.google.com/group/757rb
Group Website: http://757rb.org/
Group Meetup: http://ruby.meetup.com/130/

John Mewhort

unread,
Nov 17, 2009, 3:44:17 PM11/17/09
to 75...@googlegroups.com
Brennan - Thanks for sharing!  What would you say is the "ONE" feature that is a must have for you that bash doesn't have?  

Mike McKinney

unread,
Nov 17, 2009, 4:07:40 PM11/17/09
to 75...@googlegroups.com
didn't Ken or Brennan do a presentation on their environment which included some of this?  (not sure if we captured any of that talk or if we even had it... but seem to remember for some reason... getting old maybe?)

M

Ken Collins

unread,
Nov 17, 2009, 9:17:38 PM11/17/09
to 75...@googlegroups.com

Just got from Richmond today, I think Brennan is in DC/Maryland by now and headed to RubyConf tomorrow and representing 757 for us.

I love ZSH because of it tab completion with pretty much everything. I remember git/svn command would never complete in Bash unless some wizardry was performed. Most casual users would not notice the difference between Bash/ZSH and for that reason you should just switch and learn one. I say learn, I myself never really learned anything, I just write a ton of aliases and some top level functions. For instance here is a function in my dot files that are actually themselves in a private git repo sync'ed to my mail server.

function sync_zkit () {
  cd ~/.zshkit
  gco working
  git add . 
  git stash
  gco master
  git pull mini master
  gco working
  git rebase master
  git stash pop
  git add . 
  gca -m "Backup"
  gco master
  git rebase working
  git push mini master
  gco working
  reload
}

We did do a talk on this but it was one of the casual/group ones. So no formal leftover presentation material. Brennan's pubic dot files are where I started, but eventually I just kept them private and sync them on a repo here locally.

 - Ken

nem...@gmail.com

unread,
Nov 19, 2009, 5:38:41 PM11/19/09
to 757.rb
I've used tcsh since like the early 90's, maybe late 80's.

I use a tweak of the .tcshrc files found at http://sourceforge.net/projects/tcshrc/

Tried and have used Bash... just like tcsh, and it also has
completions and with the above .tcshrc files you have a pretty darn
good shell. Was the default shell on NeXT, and early OS X releases...
just not anymore on the latter... I think bash is the default these
days..

-Michael

On Nov 17, 3:22 pm, John Mewhort <jmewh...@gmail.com> wrote:
> I'm curious why some of you guys use a different command line shell prompt
> instead of just sticking with Terminal?  Are there any benefits for using
> something other than Terminal or is it just a preference thing?
>
> If you do use something other than Terminal...please share or point me to a
> link somewhere so I can learn why I should think about using something
> different.
>
> Thanks,
> John -  *Jedi in Training*
>
> PS I just discoveredwww.peepcode.com.  Great tutorials for a newbie like
> myself!  :-)
Reply all
Reply to author
Forward
0 new messages