bug-bash
[Top][All Lists]
Advanced

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

A Feature Request for History


From: Jayesh Badwaik
Subject: A Feature Request for History
Date: Sat, 11 Jun 2011 12:48:49 +0530
User-agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; )

Hi,

I am a linux user and I use bash for various purposes. It is often that I have 
multiple instances of bash opened up and their are various commands that I've 
entered everywhere. Every now and then I want a command from one of the 
instances of bash to be used in another instance. In that case, the history of 
bash is not that useful since it is quiet linear in nature and does not store 
history of all bash instances.

I would like to propose another method of storing the history, just like git 
stores its commits, by using the some kind of hash of the command. Every 
command that has been entered can then be stored in some file and when calling 
history, the file can be pulled up and displayed. Also, we can rerun the 
command using the hash in the same way we use the command number. We can also 
leave the command number option open for local history (for that particular 
instance only).


-- 
Cheers and Regards
Jayesh Vinay Badwaik
Electronics and Communication Engineering
VNIT, Nagpur
INDIA 

-----------------------------------------------------------------------------------------------------------------------------------------------
"We are servants rather than masters in mathematics" -- Charles Hermite



reply via email to

[Prev in Thread] Current Thread [Next in Thread]