zsh

zsh give file argument without creating a file - syntax?

Suppose I have have a program P which has a filename as argument. For example P file reads the file "file" and does something with it. Now sometimes the content of "file" is very small, e.g. just one line. So instead of creating a file f with that line and calling P f I want to give the content of line directly as an argument t...

Advantages and disadvantages between zsh and emacs' (e)shell

i have currently switched over to emacs (aquamacs) and am in the process of migrating my entire workflow into it one step at a time (org-mode, dired, etc., from pathfinder, notational velocity, etc.). the one thing i have yet to try (and seems to be the biggest obstacle thus far) is the built-in emacs shell (shell and/or eshell, here on...

GNU Screen: weird keyboard movements in zsh

If I type End in non-screen environment of my zsh console - it will move me to the end of line. But if I do the same in zsh behind screen then it will just upper case following word.. How can I make those movements behave the same in screen environment too? ...

ZSH: automatically run ls after ever cd

So I've got ZSH doing all this cool stuff now, but what would be REALLY awesome is if I could get it to run 'ls -a' implicitly after every time I call 'cd'. I figure this must go in the .zlogin file or the .aliases file, I'm just not sure what the best solution is. Thoughts? Reference material? ...

ZSH to auto-complete directories in command-line arguments?

I'm a new ZSH convert on OSX (git status in the prompt was my main driver to make the leap). Everything seems to be working swimmingly but I'm missing something from BASH.. In BASH I would start to run a CLI PHP script that's built around Symfony's CLI tools. Typically I would run the command like this: $> php doctrine --configuration...

cd -1, -2, -3 etc in Z shell

Hi, How do you set up Z-shell so that typing cd - gives you a list of previously visited paths? cd -1, -2, -3 etc then take you to the directories. ...