Tagged Questions
0
votes
1answer
31 views
When $SHELL variable does not change when I switch shell
I am using 'zsh' by default.
But when I am in my zsh shell, I enter 'bash' to switch to bash, why the $SHELL variable does not change?
Can I make screen to use whatever shell I right before execute ...
1
vote
3answers
101 views
How to find out where $MANPATH is set?
How can I find out in which configuration file the environment variable $MANPATH is set? Is there a way to backtrace the values?
I am aware of that I can grep through the whole file system using find ...
0
votes
1answer
502 views
chsh -s /usr/bin/zsh not working
I'm trying to permanently change my shell to zsh using chsh command, but it's not working.
zsh is installed (via apt) and works fine when I invoke it directly from a bash prompt terminal. But I ...
1
vote
4answers
260 views
Cannot execute shell /bin/zsh when execute a shell command in vi
I use bash. But it cannot find zsh. How to change this?
ps:I don't want to install zsh.
2
votes
1answer
1k views
Can't change theme of ZSH in Ubuntu 12.04
I have changed the theme in my ~/.zshrc file however whilst some of the colors in the prompt change the text size and background color remain as the Ubuntu default. Any one know how I can override ...
9
votes
1answer
3k views
Can't make ZSH the default shell
I am trying to set ZSH as my default shell, however it keeps reverting back to bash.
I have tried this code:
sudo chsh -s $(which zsh)
I've also tried:
sudo chsh -s /bin/zsh
Also tried these ...
3
votes
1answer
616 views
Shell Prompt Customization?
I have used oh_my_zsh (and tinkered with bash_it) on multiple systems and have generally been happy with it, though I hate it's auto-correction feature and generally turn it off.
My usual shell is ...
8
votes
0answers
321 views
Is it possible to have suffix aliases in bash? [closed]
Suffix aliases are the only reason I'm considering to switch to ZSH but I want to stick with bash. So is it possible to have something like suffix aliases in bash?
For those that doesn't know what a ...
6
votes
1answer
168 views
automatically run ls after changing path using autocd
So everytime I change the directory I would like the new path to automatically get listed with ls.There are solutions if the path gets changed using cd but I never found a solution that would work ...
2
votes
2answers
348 views
Git Branch in ZSH Prompt?
When working on a git repository with multiple branches, how do I modify my zsh prompt to include my current active branch?
3
votes
1answer
1k views
Changing shell to zsh broke my terminal
I ran sudo chsh -s /bin/zsh to change my default shell to zsh. I then restarted my computer. When I turned it back on I get just $ as the prompt, so it doesn't look like I even get bash any more.
...
2
votes
2answers
367 views
guake with zsh doesn't start
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 ...
67
votes
10answers
23k views
Moving from bash to zsh
I'm considering moving from bash to zsh as I often come across posts praising zsh. I'm an experienced command line user and I'm assuming the basics are pretty much the same, so I'm looking for advice ...