Comments (6)
I guess Navi could skip the call to fzf in this case and optimistically assume the value which makes the most sense in this case.
I can't give an ETA for implementing it, though.
If someone submits a PR for it, I can review it and ensure it's going to be live in the next release.
from navi.
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
from navi.
@denisidoro (ping)
from navi.
Workaround until an application native solution comes along:
f_navi_install_repo() {
local url="$1"
local name="$2"
local cheatpath="$(navi info cheats-path)"
local dir="$cheatpath/$name"
git -C "$dir" pull || git clone "$url" "$dir"
}
#navi repo add denisidoro/navi-tldr-pages
f_navi_install_repo "https://github.com/denisidoro/navi-tldr-pages" "denisidoro__navi-tldr-pages"
then navi
will display the cheats :-)
from navi.
Yeah, the workaround is so simple that I'd rather not implement it as a feature in navi itself. I'll close this ticket as the workaround is good enough.
from navi.
It is so simple, I wonder why it was not bake in navi ;-)
navi already acts as a "cheatsheet" repo manager.
The workaround relies on:
- how navi names "cheat" folder.
- how navi decides to accept/store/pull/update cheat repos.
Would you consider documenting the workaround as (a) official procedure OR (b) bake the functionality in navi itself ?
from navi.
Related Issues (20)
- Any way to have snippets on the left rather than on the right? HOT 2
- Security concern about Windows binary (v2.23.0) HOT 2
- Enable the use of Bash on Windows for both Navi and fzf HOT 1
- Sort by recency of usage or priority HOT 1
- Unexpected output from zsh widget with input HOT 1
- zsh widget results vary with terminal width
- command not found trying to execute navi on windows HOT 1
- Add another topic for the repo `cheatsheet` HOT 1
- searching doesn't work for descriptions longer than terminal size
- Provide Statically Compiled Binaries for (aarch64|arm64) Linux HOT 1
- Using https://devhints.io/ as a backend HOT 1
- ":/Scoop/apps/gow/current/bin/bash.exe": E:Scoopappsnavi2.23.0navi.exe: command not found HOT 1
- Unable to execute some custom commands HOT 1
- Add optional arguments HOT 1
- Optional placeholder value for variable HOT 3
- Query with pages in subdirectory (having comma) don't work as expected HOT 3
- Import cheat sheets from other tools HOT 1
- How do I select a snippet but not execute itοΌ HOT 1
- The preview format used on Windows is only for "cmd.exe". HOT 1
- /usr/bin/bash: line 1: C:ProgramDatachocolateylibnavitoolsnavi.exe: command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navi.