Comments (8)
So , --exact hello
should not open the picker but instead pick hello.out
?
from comma.
So
, --exact hello
should not open the picker but instead pickhello.out
?
yes you got it
from comma.
Might be useful to cache previous choices by default (with an option to ignore that history if desired). Just print to the console that previous choice was used from amongst the available options. Also ignore previous choice when choice set has new options compared to when the stored choice was made.
from comma.
I've also get around this by utilizing the fzf
picker which provide query and auto select the only match functionality. e.g.
cargo run -- --picker fzf --picker-args --select-1 --query 311 -- pipdeptree --python /some/path/.venv/bin/python
It's simple to implement and works quite well but the downside is that not all picker have such option to auto select, and I do think provide a option to further filter (either exact or regex) would be a better approach.
from comma.
At that point, why not just use nix run
?
from comma.
Related Issues (20)
- Nix-index database does not exist, try updating with `--update`. HOT 1
- `error: value is null while a set was expected` on update HOT 2
- "no match" on all invocations HOT 3
- Prebuilt index not found HOT 2
- Comma tries to use nix-channels with flakes HOT 7
- "attribute 'x11' missing" HOT 3
- Problem getting comma working with home-manager HOT 7
- Provide an environment variable to specify the nix-index database location HOT 3
- Add install guide for nixos configuration with flakes HOT 2
- Shell completion HOT 2
- Add --shell option HOT 1
- Comma tries to create a directory in /nix/store HOT 8
- [Bug] `, code` says "No executable `code` found in nix-index database." HOT 1
- Feature request: new command `,man` for reading manual pages HOT 1
- Future plans and ideas
- Cannot see which packages contain matching executable without running anything HOT 2
- Is there any way to make this faster; there is a noticable startup delay HOT 4
- Cache package per executable HOT 2
- Add LICENSE
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 comma.