astralarya / history Goto Github PK
View Code? Open in Web Editor NEWLongterm bash history with advanced search and select
Longterm bash history with advanced search and select
My home dir is share across all my servers. So they can all see .bash_all_history and all load the same .bash_profile. But only only server actually records the history, and even then it seems like its only partially recording. I've also tried loading in .bashrc. These are all centos6 servers.
It also doesnt seem to be logging everything.
First off, I love your plugin. However when I try to run the h!
command to select from history it causes my shell to crash immediately. I went into the source and changed the function name from h!
to hs
and it works fine. when I try type h!
it shows the correct function. Any idea why this might be or how I could debug it?
On my machine, the bash_all_history
file is being written as expected.
However, when I try to lookup history with h
, it fails to parse the lines in bash_all_history
file correctly and returns an empty screen.
On debugging, I found that this happens because of the extra '\x00'
that's appended at the end of the line. If I remove it, the parsing works as expected.
I'm sure there's a good reason for having it, but I can't figure it out.
It might be useful to add a comment for why it is needed (and make the parsing work with it) or remove the '\x00'
altogether. I have a patch for removing it that I'll associate with this issue shortly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.