hugows / hf Goto Github PK
View Code? Open in Web Editor NEW(another) Fuzzy file finder for the command line
License: MIT License
(another) Fuzzy file finder for the command line
License: MIT License
I have a bunch of shell aliases defined in my .zshrc
, would be nice to be able to use them as commands for hf
. https://github.com/facebook/PathPicker/ supports this.
Currently having defined alias ll='ls -lah'
, using ll $FILES
as command results in sh: ll: command not found
Currently, hf doesn’t seem to list symlinks pointing to files. This isn’t a problem if the files are accessible as regular files too (though some people might prefer having the symlink names available anyway, since their names might be different). However, in some use-cases, the symlinks might point to destinations which are otherwise pruned away (e. g., a file in a dotted directory); this will then lead to some files not available listed for completion at all.
E. g., git-annex stores large BLOBs in git by managing them as symlinks to a path of the form .git/annex/objects/…
. I keep notes and lots of other stuff in these repositories, and accordingly none of the filenames are currently given as completions when using hf.
Setting the EDITOR environmental variable to something along the lines of C:\Program Files\Sublime Text 3\subl.exe
doesn't work. I think it would work correctly with a path that doesn't contain spaces.
Also, I believe that it would be better to put the default editor for windows as notepad.exe
Since it will always be available from the command line, but subl.exe
would only be available if it's in the PATH.
The default tests for runcmd_test.go fail on windows. By default hf uses cat $FILES
and cat $FILES | wc -l
as test commands. On Windows, cat
is an alias in Powershell. When the default shell is changed to use powershell -Command
instead of cmd /c
, the cat
command works for one file, but it will not work for multiple files.
https://github.com/junegunn/fzf - is your project a fork, a re-implementation, what are the main differences? The UI looks pretty much the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.