10 April 2008

Shell history

hehe

flub@signy:~$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn |head
79 nosetests
74 ls
46 cd
36 ssh
28 man
22 apt-cache
19 vi
19 ack
17 svn
17 sudo
flub@signy:~$ 

It must be noted that most of my editing happens in emacs, but that only gets started a few times a day and then stays there (oh and emacs is started from a shortcut icon, not the shell).

1 Comments:

Anonymous Leandro Lameiro said...

Maybe you can save some time using nosy?

Nosy is a script that you keep running in the background and when it detects changes in your sourcecode it will run nosetests for you.

http://trac.turbogears.org/browser/projects/TGWidgets/trunk/nosy.py?rev=2009&format=raw

10 April, 2008 17:50  

Post a Comment

Links to this post:

Create a Link

<< Home