Coder Social home page Coder Social logo

davidgoldcode / fzf-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielfgray/fzf-scripts

1.0 0.0 0.0 122 KB

a collection of scripts that rely on https://github.com/junegunn/fzf

License: GNU General Public License v3.0

Shell 100.00%

fzf-scripts's Introduction

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.

fzrepl

runs stdin against programs like sed, awk, jq and shows the result in the preview window

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

igr

Interactive rg wrapper

ix

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

depends on curl

js

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 $PWD/fzf-scripts/{} \;

Notable Mentions

  • forgit - a better version of fzgit
  • fzf-tab - use fzf to tab-complete everything in your shell

Legal

Copyright (C) 2016 Daniel F Gray [email protected]

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

fzf-scripts's People

Contributors

danielfgray avatar vijaymarupudi avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.