learn_perl_oneliners
zsh-histdb
learn_perl_oneliners | zsh-histdb | |
---|---|---|
2 | 16 | |
98 | 1,233 | |
- | - | |
4.3 | 0.0 | |
7 months ago | over 1 year ago | |
Shell | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
learn_perl_oneliners
-
Ask HN: Can I see your cheatsheet?
I use my ebooks for reference:
* GNU grep and ripgrep (https://learnbyexample.github.io/learn_gnugrep_ripgrep/)
* GNU sed (https://learnbyexample.github.io/learn_gnused/)
* GNU awk (https://learnbyexample.github.io/learn_gnuawk/)
* Ruby one-liners cookbook (https://learnbyexample.github.io/learn_ruby_oneliners/)
* Perl one-liners cookbook (https://learnbyexample.github.io/learn_perl_oneliners/)
* Command line text processing with GNU Coreutils (https://learnbyexample.github.io/cli_text_processing_coreuti...)
* Command line text processing with Rust tools (https://learnbyexample.github.io/cli_text_processing_rust/) β work-in-progress
* Computing from the Command Line (https://learnbyexample.github.io/cli-computing/) β work-in-progress
-
My CLI ebook bundle (grep, sed, awk, perl, Ruby one-liners) is free today
Perl one-liners cookbook
zsh-histdb
-
Which command did you run 1731 days ago?
Totally agree with this. I use https://github.com/larkery/zsh-histdb slightly modified to work more smoothly for me. If I remember correctly, I tried Atuin but it messed up multi-line commands. Zsh-histdb handles them well.
-
Save exit status of commands to history?
Probably a bit overkill, but zsh-histdb stores a bunch of information about each command, including exit code, in an SQLite database. Perhaps you could draw some inspiration from that.
-
Ask HN: Can I see your cheatsheet?
This the working directory of the command has been especially useful for me to get the context of what I did, not only the command itself.
[1] - https://github.com/larkery/zsh-histdb
- RESH: Rich Enhanced Shell History
-
what are your top 5 most used shell commands?
(i use histdb for zsh, so i can easily do histdb-top).
-
After a reboot, history file maybe not parsing.
This error comes from https://github.com/larkery/zsh-histdb. Perhaps open an issue there?
-
Zsh Plugins Commit TOP
histdb π₯ πΆββοΈ β³ - Stores your history in an SQLite database. Can be integrated with zsh-autosuggestions.
- ZSH History Database
- Jog: Print the last 10 commands you ran in the current directory
-
What's a small Linux program that you don't give much thought but makes your life a hundred times easier from time to time?
zsh-histdb: store your command history in a sqlite database along with the exit status code and the directory the command was run in. Therefore no randomly losing portions of your command history based on which terminals you closed first or didn't close at all, and no getting weird garbage in your history from multi-line commands. I have a nearly complete history of every shell command I've typed since installing each of my machines.
What are some alternatives?
goexamples - Complete golang example; sample Go code
fzf - :cherry_blossom: A command-line fuzzy finder
dotfiles - My configuration files
atuin - β¨ Magical shell history
cheat.sh - the only cheat sheet you need
mcfly - Fly through your shell history. Great Scott!
Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:
rofi - Rofi: A window switcher, application launcher and dmenu replacement
cheatsheet - π A compendium of CLI commands I can't stop looking up
navi - An interactive cheatsheet tool for the command-line
dotfiles - My dotfiles.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.