You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.4KB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # fzf-scripts
  2. This is a collection of scripts I've written that use [fzf](https://github.com/junegunn/fzf)
  3. Almost all of them require various tools from coreutils like `awk` `sed` `cut`.
  4. ## [fv](fv)
  5. Lists or searches for files and opens them with a command, defaults to `vim`. Kind of a shortcut for `vim $(ag 'foo' | fzf)`, lists files if no search string is given.
  6. ## [fzgit](fzgit)
  7. Interactive git wrapper. Very much still a work in progress, but it has same very cool functions already.
  8. *depends on `git`*
  9. ## [fzmp](fzmp)
  10. Lists and searches for songs in an MPD library by artist, album, or playlist. I wrote a [blog post](https://danielfgray.github.io/computers/fzmp) about writing this script.
  11. *depends on `mpc`*
  12. ## [fzmv](fzmv)
  13. Interactively move files. It was originally just an experiment to see what it would be like to make a file explorer with fzf.
  14. ## [goog](goog)
  15. Google search from the command line. This is now broken since google deprecated the API I used and I have yet to update to the newer version..
  16. *depends on `jq` and `curl`*
  17. ## [ix](ix)
  18. Uploads files to http://ix.io and allows listing and editing of uploads.
  19. *depends on `curl`*
  20. ## [pkgsearch](pkgsearch)
  21. Searches Debian/Ubuntu and Arch repos (including the AUR) and installs multiple packages.
  22. ## [sshget](sshget)
  23. Lists files from remote servers and `rsync`s them to the current directory
  24. ## [wifi](wifi)
  25. List and connect to wifi networks
  26. *depends on `nmcli`*
  27. # Install
  28. Currently there's no installation script, but if you clone the repo you can easily symlink the scripts here with something like:
  29. cd /path/to/repo/fzf-scripts
  30. find -maxdepth 1 -executable -type f -exec ln -s -t $HOME/.local/bin /path/to/repo/fzf-scripts/{} \;
  31. # Legal
  32. Copyright (C) 2016 Daniel F Gray <DanielFGray@gmail.com>
  33. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  34. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  35. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.