zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added.

learn more… | top users | synonyms

1
vote
2answers
3k views

When I use ZSH, how do I set PATH in /etc/profile.d?

I'm using zsh as my shell, and I'm trying to configure my environment. I usually define my $JAVA_HOME variable by creating a file: /etc/profile.d/java.sh with the following content export ...
0
votes
2answers
323 views

How to fix symbolic links after switching from Bash to ZSH

I had bash as my default shell even though I was only using zsh. I always started it myself by opening the terminal and typing zsh. Today I decided to use it as my default shell. So I found this ...
0
votes
2answers
200 views

zsh up-line-or-history does not work in gnome-terminal and tmux

I use Ubuntu 13.04, zsh with oh-my-zsh and up-line-or-history is bind to up arrow (default settings of oh-my-zsh). But this work only in urxvt. I try to use DEBIAN_PREVENT_KEYBOARD_CHANGES in my ...
1
vote
1answer
33 views

Kubuntu 14.10, .zshenv is sourced twice

I have added some directories into $PATH variable in my ~/.zshenv conf file. After reboot I noticed that these paths are appeared twice. I tried to print call stacks and got the following: .zshenv ...
1
vote
1answer
65 views

Upstart sub-command tab completion with zsh

I've just recently switched to ZShell, and am loving it so far. One issue I'm having however is that my init.d or upstart scripts used to have tab completion for their subcommands, but now it doesn't. ...
1
vote
1answer
221 views

tmux - unable to start any gui application

I am running Ubuntu-gnome 13.04. My default shell is zsh 5.0.0 and I usually run tmux 1.7 in the terminal 3.6.1. In terminal, if I evince or gedit, the applications start as expected. I can append an ...
0
votes
1answer
32 views

Zsh typing problem

I just installed Zsh and wrote my own PROMPT thing so I have custom prompt. I also use emacs formatting in ~/.zshrc which says bindkey -e. Now when I open the shell, for some reason, it acts very ...
0
votes
1answer
275 views

zsh aliases doesn't work from .zshrc file

I want to create an alias to mount some remote file systems locally. I placed lines like this in my .zshrc file: alias remfs='sshfs rem: ~/mnt/sshfs/rem' But when I run remfs, I get an error ...
1
vote
0answers
30 views

Where do I find the zsh manual in Ubuntu versions later than 12.04?

At the moment I am learning zsh based on recommendations from friends and colleagues. To my surprise I was unable to find the man page for zsh and a man page named zshmisc which apparently was ...
1
vote
0answers
48 views

Make CronTab not asking for id_rsa keyword when running in terminal

I like to do some git pull inside a script and see see output of it. So I made up this cronjob to test: DISPLAY=:0 * * * * * mike /usr/bin/gnome-terminal -x zsh -c "/var/www/up.sh; zsh" ...
1
vote
0answers
125 views

Scroll mouse -> scroll up screen instead browse history

I'm new with Z-Shell, I got a problem that when I scroll my mouse, it shows me the zsh-history, but what I really wanna is to scroll up the screen, just like I drag the scrollbar on the side. seems by ...
0
votes
0answers
23 views

Problems installing Betty in zsh

I tried to install Betty in zsh like that: cd ~ && git clone https://github.com/pickhardt/betty echo "alias betty=\"~/betty/main.rb\"" >> ~/.zshrc source ~/.zshrc I installed her in ...
0
votes
0answers
53 views

<Enter> button does not work in Guake for zsh

I have 2 machines with Ubuntu 14.04 on them. On both machines I've tried to switch shell to zsh for Guake. As a result pressing button (to run a command) has no effect, although other ...
0
votes
0answers
14 views

zmv:178: condition expected: $action

Tried to use the zmv function in zsh with the following syntax zmv -n '(*.*)(.*)' '${1//./ }$2' and got the following error zmv:178: condition expected: $action Line 178 in the zmv source ...
0
votes
0answers
29 views

Environment variable spoiled

In ~/.profile I have this: . "$HOME/projects/devenv.sh" In $HOME/projects/devenv.sh I have: BASEDIR=$(dirname $0) export APILIB_CONFIG="$BASEDIR/apilib.conf" echo "$APILIB_CONFIG" When I open a ...