PDA

View Full Version : What shell do you use?



dragos240
November 5th, 2009, 04:25 AM
BASH, SH, ZSH, KSH, etc.?

I use a mixture of BASH and ZSH.

RiceMonster
November 5th, 2009, 04:26 AM
zsh on my desktop, though I don't think I've spent enough time configuring it yet. I'll install zsh on my laptop when I get it the way I want it. Laptop is bash right now.

FuturePilot
November 5th, 2009, 04:36 AM
ZSH all the way on all my machines. :guitar:

Crunchy the Headcrab
November 5th, 2009, 04:37 AM
bash, cause I'm a n00b.

-grubby
November 5th, 2009, 04:40 AM
Zsh.

xuCGC002
November 5th, 2009, 04:47 AM
bash, because I don't know what the advantages of Zsh are. Explain, please!

FuturePilot
November 5th, 2009, 04:49 AM
bash, because I don't know what the advantages of Zsh are. Explain, please!

Take a look at this http://friedcpu.wordpress.com/2007/07/24/zsh-the-last-shell-youll-ever-need/

chris200x9
November 5th, 2009, 04:57 AM
good old sh, freebsd 8.0-RC2 oh yea! I have not gotten around to changing it I'm waiting for final then doing a clean install

praveesh
November 5th, 2009, 05:05 AM
Bash. I DIDN'T try any other. What do the others have to offer?

lisati
November 5th, 2009, 05:07 AM
<off topic>sea shells</off topic>
I haven't got round to learning shell scripting yet.

Redache
November 5th, 2009, 05:10 AM
Bash on Desktop and Laptop. Will give ZSH a look though.

C!oud
November 5th, 2009, 05:12 AM
zsh

praveesh
November 5th, 2009, 05:13 AM
Take a look at this http://friedcpu.wordpress.com/2007/07/24/zsh-the-last-shell-youll-ever-need/

well I might move to zsh

hoppipolla
November 5th, 2009, 05:14 AM
Bash, always :)

I've never used Zsh but maybe I should, I've heard it's good :)

kaibob
November 5th, 2009, 05:15 AM
My first choice is dash--I use bash primarily for scripts that use an array.

Frak
November 5th, 2009, 05:17 AM
ZSH on Linux, ZSH on Mac, PowerShell on Windows

phrostbyte
November 5th, 2009, 05:19 AM
Mostly I use bash, but sometimes I use fish (apt:fish).

Redache
November 5th, 2009, 05:21 AM
PowerShell on Windows

I've tried PowerShell on Windows 7 and it is surprisingly nice. I also like that they've included Unix/Linux Aliases into the default install( ls == dir and so on).

Frak
November 5th, 2009, 05:36 AM
I've tried PowerShell on Windows 7 and it is surprisingly nice. I also like that they've included Unix/Linux Aliases into the default install( ls == dir and so on).
Main reason why I like it so much. Coming from a Unix administration background, Powershell makes it easier to manage servers.

23meg
November 5th, 2009, 08:35 PM
I use GNOME Shell (http://live.gnome.org/GnomeShell).

http://img44.imageshack.us/img44/1481/dadaw.png

Simian Man
November 5th, 2009, 08:38 PM
It's funny to see this thread because the other day I was asking my co-worker (who knows more about Linux than me) if I could make bash do tab-completion more like vim's built-in tab completion where you can cycle through the options. He told me about zsh and I found that it's AWESOME.

So I am a recent zsh convert :).

LookTJ
November 5th, 2009, 08:39 PM
ZSH, though I haven't found out how to adjust the home/end/delete behavior.

EDIT: found the keybinding stuff on the ArchWiki

Tibuda
November 5th, 2009, 08:43 PM
http://www-static.shell.com/static/styles/images/logos/shell.gif (http://www.shell.com/)

(but I don't have a car)

dragos240
November 5th, 2009, 08:44 PM
http://www-static.shell.com/static/styles/images/logos/shell.gif (http://www.shell.com/)

(but I don't have a car)

Nice job. :)

LookTJ
November 5th, 2009, 08:57 PM
Here's a picture of my shell

ZankerH
November 5th, 2009, 09:16 PM
Here's a picture of my shell

No, that's a picture of you taking a screenshot of your terminal emulator and prompt.

Also, I use zsh for scripting, and bash for day-to-day use.

RiceMonster
November 5th, 2009, 09:20 PM
No, that's a picture of you taking a screenshot of your terminal emulator and prompt.

Also, I use zsh for scripting, and bash for day-to-day use.

I actually still use bash for scripting, just because it's more familiar.

LookTJ
November 5th, 2009, 09:46 PM
No, that's a picture of you taking a screenshot of your terminal emulator and prompt.

Also, I use zsh for scripting, and bash for day-to-day use.
:lolflag: I meant my shell prompt.

LookTJ
November 5th, 2009, 09:48 PM
Also DragOS, since you are the OP, can we post our shell configurations in this thread?

dragos240
November 5th, 2009, 09:50 PM
Sure LookTJ.

lukjad007
November 5th, 2009, 09:53 PM
Bash

Rambar
November 5th, 2009, 09:54 PM
I use Bash, but reading this thread has made me curious about zsh.

renkinjutsu
November 5th, 2009, 10:01 PM
Present suggestions in a menu that you can browse by arrow keys?
Complete the kill command by showing a menu of all your processes?
Complete the aptitude or ls commands by showing a menu of relevant parameters and a short description of what they do?
In addition to exact matches, show also near matches in a separate section?
Pop up completion options even for complex commands virtually instanteously, without bash’s dreaded “UH OH I should’ve typed a few more letters first!” delay?

aptitude commands and package names are autocompleted ... but this is only for Ubuntu... HOW DOES UBUNTU DO IT?!


but after reading that.. zsh seems to be the way to go. Does it also have an rc file in the home folder?

Simian Man
November 5th, 2009, 10:04 PM
aptitude commands and package names are autocompleted ... but this is only for Ubuntu... HOW DOES UBUNTU DO IT?!


but after reading that.. zsh seems to be the way to go. Does it also have an rc file in the home folder?

I believe each distro customizes the completion system when it packages zsh because it work on Fedora with yum and OpenSuse with zypper as well :).

FuturePilot
November 5th, 2009, 10:05 PM
aptitude commands and package names are autocompleted ... but this is only for Ubuntu... HOW DOES UBUNTU DO IT?!


but after reading that.. zsh seems to be the way to go. Does it also have an rc file in the home folder?

Yes ~/.zshrc


I believe each distro customizes the completion system when it packages zsh because it work on Fedora with yum and OpenSuse with zypper as well :).

No, Zsh is just that awesome.

renkinjutsu
November 5th, 2009, 10:06 PM
I believe each distro customizes the completion system when it packages zsh because it work on Fedora with yum and OpenSuse with zypper as well :).

A lot of the autocomplete goodies aren't in Debian or Arch though... makes me sad

diesch
November 5th, 2009, 10:08 PM
I use zsh for interactive use and sh for scripting

Mornedhel
November 5th, 2009, 10:33 PM
Does emacs count ?

Barrucadu
November 5th, 2009, 10:45 PM
Zsh.

CharlesA
November 5th, 2009, 11:13 PM
I use bash but I'm curious about zsh now.

Zoot7
November 5th, 2009, 11:19 PM
Bash

ratcheer
November 5th, 2009, 11:28 PM
I am currently using the default bash shell, but I am much more used to ksh because I have used it at work for many years. If I were going to try something new, I think it would be zsh.

Tim

alphaniner
November 6th, 2009, 12:20 AM
bash, but I'm definitely gonna look into zsh now. I've (apparently) used zsh before with SystemRescueCD, and I liked the fat-finger-fixer. But I never really thought much about it otherwise.

seeker5528
November 6th, 2009, 01:46 AM
I use whatever comes up when you open a terminal window or log in at the command line, and silly me, I thought dash was the default shell, at least that is what /bin/sh points too. :p

Might have to try changing that and see what happens.

:neutral: OK, that was a bad idea, no tab completion.

Later, Seeker

doorknob60
November 6th, 2009, 03:05 AM
Zsh

wojox
November 6th, 2009, 03:10 AM
Since most configuration scripts and settings are in bash, I use bash.

L815
November 6th, 2009, 04:23 AM
Bash. I've used it the most; it's default, and it's worked well.

Exodist
November 6th, 2009, 04:46 AM
I always used BASH, mostly due cause it default on most linux distros. But I like what I see about ZSH, I may just give that a try tonight.

murderslastcrow
November 6th, 2009, 06:11 AM
Wutz BASH? :O *gets shot*

I usually use bash since it satisfies the most advanced scripting I've ever taken part in quite easily. I'll have to read up on the others.

kevdog
November 6th, 2009, 06:51 AM
Ever get the feeling a bunch of zsh fanboys are lurking about?

FuturePilot
November 6th, 2009, 07:02 AM
Ever get the feeling a bunch of zsh fanboys are lurking about?

Perhaps. Just read my sig. We're all over the place ;)

renkinjutsu
November 6th, 2009, 07:07 AM
Re: What shell do you use?
Thanks to this thread, i now use zsh ... :-\"

SunnyRabbiera
November 6th, 2009, 07:09 AM
Koopa shell

thegreenblob
November 6th, 2009, 07:17 AM
I use bash. Never bothered trying anything else.

Mornedhel
November 6th, 2009, 12:27 PM
Seeing as many bash users are wooed by zsh's fancy features, I will counterattack with a few not-enabled-by-default bash options. Some may be available only in bash 4.x, which is installed by default in Karmic Koala, but not, IIRC, in Jaunty.


shopt -s globstar

and now you can use ** globs like in zsh, like so:


ls **/*.java

displays a list of all .java files anywhere below current directory. The globstar option is a bash 4.x feature.

Basic spellchecking for cd is available since at least bash 3.x:


user@host:~$ shopt -s cdspell
user@host:~$ cd snadbox
sandbox
user@host:~/sandbox$

The menu-complete behavior provides zsh-style completion. You can enable it like this:

Add in ~/.inputrc (or create the file if it doesn't exist):

set show-all-if-ambiguous on

This makes bash show all possible matches on the first TAB press instead of the second one as is the default.

Add in ~/.bashrc:

bind '"\t": menu-complete'

This gives us the zsh-style completion. The first TAB will show a possible completion; subsequent presses will cycle through the rest. menu-complete is a bash 3.x (if not earlier) feature. (This doesn't include things like completing /u/s/l to /usr/share/lib; AFAIK this feature does not exist at all in bash, but I would love for someone to prove me wrong.)

Now you too can get to keep your favorite shell and sneer at those other dudes who use some weird unpronounceable shell!

lukjad007
November 6th, 2009, 03:18 PM
Take a look at this http://friedcpu.wordpress.com/2007/07/24/zsh-the-last-shell-youll-ever-need/

SWEEET! I'm so gonna install it.