Are you referring to the dirh command?
dirh returns a history of the last visited directories, a nice feature, but
not what I'm looking for. What I need is a list of all commands executed in
this directory.
Beside the $history[1] problem is using the fish_prompt for this is not
really a clean approach. It will fail if the last command changed the
directory and save the command to the wrong directory. Clean would be to
log the command before it's executed, but I haven't found a function that
is executed before the command to hook into.

P.S.: Sorry for the double post


On Fri, Jul 11, 2014 at 4:36 AM, glphvgacs <darwinsker...@gmail.com> wrote:

> i was under the impression that fish already does that. although the
> size of history seems to be too small for even a day for me for this to
> be of much use but that's for another topic i suppose.
>
>


-- 
Mit freundlichen Grüßen / Best regards
 Jan-Thorsten Peter

------------------------------------------------------------------------
Dipl.-Inform. Jan-Thorsten Peter               pe...@cs.rwth-aachen.de
Department of Computer Science 6,              Phone: +49 (241) 80-21605
RWTH Aachen University                         Fax:   +49 (241) 80-22219
D-52056 Aachen, Germany                        Room:  6110
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to