Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] command history by directory



At Tue, 30 Dec 2003 11:14:44 +0900,
Shawn wrote:
> Happy Holidays Everyone,
> 
> Just wondering if there is a way to get a by-directory command history.
> 
> By that I mean if I am in a certain directory, say /home/this_user/here
> 
> is it possible to loop through the last commands done in this directory 
> and not the last commands that I did from the shell in general
> 
> When I am in certain directories I tend to do the same commands and it 
> would just be a time saver to not have to repeat them

Use zsh.
Search a certain command by ^p or ^r. Then if you pushed ^o instead of
return, the next command in a command history would appear.

--
Masato


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links