Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
DanielFGray 1fa5bc0517 add fzrepl 4 meses atrás
LICENSE add LICENSE 3 anos atrás
README.md added fzbuku 6 meses atrás
fv fv previews 1 ano atrás
fzbuku added fzbuku 6 meses atrás
fzgit more colors 1 ano atrás
fzmp fix key bindings without config 6 meses atrás
fzmv more colors 1 ano atrás
fzrepl add fzrepl 4 meses atrás
gitup more colors 1 ano atrás
goog snek 3 anos atrás
ix more colors 1 ano atrás
npmsearch npmsearch: pass arguments to fzf when removing 1 ano atrás
pkgrm more colors 1 ano atrás
pkgsearch more colors 1 ano atrás
pkgup more colors 1 ano atrás
sshget more colors 1 ano atrás
wifi various fixes and tweaks 2 anos atrás

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, and probably make use of GNU extensions.

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 some very cool functions already.

depends on git and perl

fzbuku

A small wrapper around buku to search bookmarks

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 ix.io and allows listing and editing of uploads.

depends on curl

npmsearch

Searches npmjs.com and installs packages with yarn if available or npm.

depends on npm and jq

pkgsearch

Searches repos and installs multiple packages. Currently works with Debian, Ubuntu and Arch, and experimental support for Fedora and Void.

pkgrm

Lists and removes packages, optionally sorts by size.

depends on pacman

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