Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I changed guake to use /bin/zsh from /bin/bash. now it doesnt start. by start, i mean that when click the shortcut key, guake just pops up for a second, and then disappears. I changed the default interpreter back to bash, and it works. what is the problem?

As an aside, how can I make zsh the default terminal shell?

share|improve this question
    
Remember that the full path of zsh in /usr/bin/zsh, whereas bash's /bin/bash. –  loevborg Nov 24 '10 at 10:44
    
zsh seems to ship a /bin/zsh4. Is that insufficient? –  Daniel T Chen Nov 24 '10 at 19:09
    
There is a /bin/zsh in Maverick, and I think also previous releases. –  poolie Nov 25 '10 at 2:56
    
neither of /usr/bin/zsh or /bin/zsh work. –  theTuxRacer Nov 25 '10 at 5:23
add comment

2 Answers

up vote 4 down vote accepted

The symptoms you describe are a lot like the bugs http://pad.lv/360253 and http://pad.lv/625192 so I suggest you add some debugging information to the latter. See https://wiki.ubuntu.com/Apport for how to get a crash file to attach to the bug.

As an aside, how can I make zsh the default terminal?

It's a shell, not a terminal. But to change it just for your account, you want

chsh -s /bin/sh

and to change it for newly-added accounts, change DSHELL in /etc/adduser.conf.

share|improve this answer
    
thanks for the correction. Also, does it mean that I have to change the first line in all the scripts from #! /bin/bash to #! /bin/zsh ? –  theTuxRacer Nov 24 '10 at 7:49
    
Uh, what are you trying to accomplish? The instructions I gave are to make zsh the default shell when you log in or start a text terminal. –  poolie Nov 24 '10 at 8:05
    
no, your answer was correct, It just struck me that there are some scripts that have the shebang, and just asked for clarification. –  theTuxRacer Nov 24 '10 at 8:40
    
Scripts with no shebang are I believe run by /bin/sh which is a link to dash on Ubuntu. –  poolie Nov 24 '10 at 9:35
    
@Kaustubh: Do not change the shebang line on any script. Bash and zsh have (slightly) different syntax, zsh can't execute a bash script or vice versa. –  Gilles Nov 25 '10 at 2:13
add comment

I've solved the same problem by running zsh in Terminal. This created new .zshrc file. So, I think, this problem caused by lack of .zshrc

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.