In bash I can do

ls foo/
[...]
echo !$
foo/

What is the zsh equivalent?

link|improve this question

25% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Looks like exactly the same thing to me.

% ls foo/ 
......
% echo !$
echo foo/
foo/
link|improve this answer
Haha, funny stuff. My co-worker told me it didn't work a while ago, so I guess I assumed it wouldn't work :P – Blaine LaFreniere Jul 27 '10 at 23:32
feedback

Your Answer

 
or
required, but never shown

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