zsh-histdb
skim
zsh-histdb | skim | |
---|---|---|
16 | 27 | |
1,233 | 4,845 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 month ago | |
Shell | Rust | |
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.
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.
skim
-
Bash Menu
I really like using something like fuzzy search for menus like these. https://github.com/Cloudef/bemenu is pretty cool in that it works both in a terminal, X11 and on Wayland, so if you want to do something graphical later you can easily migrate. There's also fzf and skim, which work similarly but are only for the terminal.
-
FzfLua Quickstart: it's never been easier to try out fzf-lua
Current profiles (to be improved upon): | Profile | Details | | ---------------- | ------------------------------------------ | | default | fzf-lua defaults, uses neovim "builtin" previewer and devicons (if available) for git/files/buffers | | fzf-native | utilizes fzf's native previewing ability in the terminal where possible using bat for previews | | fzf-tmux | similar to fzf-native and opens in a tmux popup (requires tmux > 3.2) | | max-perf | similar to fzf-native and disables icons globally for max performance | | telescope | closest match to telescope defaults in look and feel and keybinds | | skim | uses skim as an fzf alternative, (requires the sk binary) |
-
Is there a way to unravel a filepath based on a known end file?
There’s also a variety of fuzzy finders like https://github.com/lotabout/skim or fzf. Basically the same thing, but different interface.
-
I wrote a "12 favourite terminal tools" list-article, what did I left out that should be absolutely included?
Have you ever tried sk? skim is an fzf re-write in 🦞. While I use it occasionally, I never really incorporated fzf into my workflow so I'd be interested to hear your opinion.
-
Zsh history syntax highlighting on fzf-history-widget?
I’m not familiar at all with fzf, but I do know that skim supports this.
- CLI Item Selection Interface?
-
I like the Odin programming language
You state that as a blank and white fact, but there's nuance.
https://github.com/lotabout/skim/issues/317#issuecomment-652...
- Dig, but in Rust
-
Rustaceans be like
fzf skim
-
Fixed the meme
Agreed, but use skim instead
What are some alternatives?
fzf - :cherry_blossom: A command-line fuzzy finder
atuin - ✨ Magical shell history
fd - A simple, fast and user-friendly alternative to 'find'
mcfly - Fly through your shell history. Great Scott!
exa - A modern replacement for ‘ls’.
rofi - Rofi: A window switcher, application launcher and dmenu replacement
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
navi - An interactive cheatsheet tool for the command-line
ion - Mirror of https://gitlab.redox-os.org/redox-os/ion
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
coreutils - Cross-platform Rust rewrite of the GNU coreutils