Comments (2)
I think it is best if an argument is required. It's weird that -q
would "work" but have no meaning. However, -q
can accept an empty string as an argument.
You should be able to achieve what you want using a shell function instead of an alias
fzyfind() {
find . | fzy -q "$*"
}
This uses any arguments to fzyfind as input to -q
. If none are provided it is equivalent to -q ""
fzyfind
-> find . | fzy -q ""
fzyfind foo
-> find . | fzy -q "foo"
fzyfind foo bar
-> find . | fzy -q "foo bar"
from fzy.
John Hawthorn writes on juni 5, 2016 9:51:
I think it is best if an argument is required. It's weird that
-q
would "work" but have no meaning. However,-q
can accept an empty string as an argument.
Right, that works of course :)
from fzy.
Related Issues (20)
- Search not case-insensitive for non-ascii characters (e.g. German Umlauts) HOT 1
- Cyrillic characters in queries are case-sensitive HOT 1
- [FR] Support specifying weights
- RPM spec file
- Update Link In ALGORITHM.md
- Segmentation fault and "*** stack smashing detected ***" for very long lines HOT 1
- Displaying the prompt at the bottom
- Option for showing the count of results? And to not wrap around? HOT 4
- fzy will auto insert blank line if a line has CJK character and the line length more than terminal width
- Maintainers wanted? HOT 1
- Present interim results immediately when reading from pipe (like fzf) HOT 1
- Elaborate on more differences
- Prefer consecutive matches HOT 1
- Configure which part of the line to omit if line is too long
- Question: why would fzy lines persist while fzf does not (in tintin++)? HOT 2
- [UX] Show in readme how to replace bash history search with fzy HOT 6
- README says it's in app-shells on gentoo
- Top Down view
- Makefile dependency issue
- Add null separator support `-0` for `xargs`
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 fzy.