• Stars
    star
    453
  • Rank 96,014 (Top 2 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

dotfiles

personal repo of config files
Lua
64
star
2

yaxg

capture and record your screen with callbacks
Shell
50
star
3

DistractionFree.vim

Distraction-free editing in Vim
Vim Script
25
star
4

tmux-fzf-urls

Parses tmux panes for urls and displays them in fzf
Shell
22
star
5

doot

a reddit-ish clone built with remix.run, tailwind, and postgres
TypeScript
13
star
6

tekup

Command line script to upload files to https://teknik.io
Shell
12
star
7

tw-heropatterns

tailwindcss plugin for dynamically generating background patterns
JavaScript
11
star
8

api-helper

curl profiles for working with apis
Shell
5
star
9

razzle-graphile

a typescript+react boilerplate that generates a graphql api and types from postgres tables with user session auth
TypeScript
4
star
10

graphile-starter-slim

TypeScript
4
star
11

advent-of-code

3
star
12

bin

Misc hackery
Shell
2
star
13

react-starter

My "boilerplate" for new react projects
JavaScript
2
star
14

postgres-playground

run postgres in your browser and see query results
TypeScript
2
star
15

react-pg-session-example

TypeScript
2
star
16

gqlblog

React SSR blog using Apollo
TypeScript
2
star
17

dockerfiles

Shell
2
star
18

pg-sourcerer

generate code from Postgres introspection data
JavaScript
2
star
19

nextjsblog

MDX
1
star
20

public-apis-site

JavaScript
1
star
21

ricehalla

TypeScript
1
star
22

razzle-starter

TypeScript
1
star
23

ircjs

JavaScript
1
star
24

next-blog

TypeScript
1
star
25

webhook-handler

JavaScript
1
star
26

lastscrape

downloads scrobbles from last.fm
JavaScript
1
star
27

DanielFGray

repo readme
1
star
28

lambdachan-ui

JavaScript
1
star
29

ricedb-ui

TypeScript
1
star
30

reactblog

JavaScript
1
star
31

ts-redux-frontend

playing with io-ts and @reduxjs/toolkit entity adapters and async thunks
TypeScript
1
star
32

pbjs

JavaScript
1
star
33

blessed-mpd

🎵 curses mpd client
JavaScript
1
star