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.
quinn 94f8739e88 :) YO I FIXED IT!!!!?!?!?! haHAA hace 2 años
LICENSE add LICENSE hace 3 años
README.md update installation blurb hace 3 años
fv snek, and read-only colors hace 3 años
fzgit fzgit: fix paging to less hace 2 años
fzmp :) YO I FIXED IT!!!!?!?!?! haHAA hace 2 años
fzmv snek, and read-only colors hace 3 años
goog snek hace 3 años
ix ix: remove trailing newline when copying to clipboard hace 2 años
npmsearch added npmsearch script hace 2 años
pkgrm pkgrm can --sort by size hace 2 años
pkgsearch various fixes and tweaks hace 3 años
pkgup added pkgup script hace 3 años
sshget various fixes and tweaks hace 3 años
wifi various fixes and tweaks hace 3 años

README.md

fzf-scripts

This is a collection of scripts I’ve written that use fzf

Almost all of them require various tools from coreutils like awk sed cut.

fv

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.

fzgit

Interactive git wrapper. Very much still a work in progress, but it has same very cool functions already.

depends on git

fzmp

Lists and searches for songs in an MPD library by artist, album, or playlist. I wrote a blog post about writing this script.

depends on mpc

fzmv

Interactively move files. It was originally just an experiment to see what it would be like to make a file explorer with fzf.

goog

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..

depends on jq and curl

ix

Uploads files to http://ix.io and allows listing and editing of uploads.

depends on curl

pkgsearch

Searches Debian/Ubuntu and Arch repos (including the AUR) and installs multiple packages.

sshget

Lists files from remote servers and rsyncs them to the current directory

wifi

List and connect to wifi networks

depends on nmcli

Install

Currently there’s no installation script, but if you clone the repo you can easily symlink the scripts here with something like:

cd /path/to/repo/fzf-scripts
find -maxdepth 1 -executable -type f -exec ln -s -t $HOME/.local/bin /path/to/repo/fzf-scripts/{} \;

Legal

Copyright © 2016 Daniel F Gray DanielFGray@gmail.com

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.

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.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.