GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DanielFGray/fzf-scripts: a collection of scripts that rely on https://github.com/junegunn/fzf

BranchesTags
Open more actions menu

Latest commit

 

History

193 Commits
193 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
ddgsearch
ddgsearch
 
 
dkr
dkr
 
 
fv
fv
 
 
fzaur
fzaur
 
 
fzbuku
fzbuku
 
 
fzgit
fzgit
 
 
fzmp
fzmp
 
 
fzmv
fzmv
 
 
fzrepl
fzrepl
 
 
fztop
fztop
 
 
gitup
gitup
 
 
igr
igr
 
 
ix
ix
 
 
js
js
 
 
pkgrm
pkgrm
 
 
pkgsearch
pkgsearch
 
 
pkgup
pkgup
 
 
sshget
sshget
 
 
wifi
wifi
 
 

Repository files navigation

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.

dkr

an interactive wrapper around some docker commands

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

fzaur

Search and install packages from the Arch User Repository (AUR). Clones the package, opens the PKGBUILD for review, and runs makepkg -si.

depends on curl, jq, and git

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

ddgsearch

A wrapper around ddgr to search the web using DuckDuckGo. Accepts all ddgr command line arguments. For example, to search Wikipedia for "hello world":

ddgsearch \!w hello world

depends on jq and ddgr

fztop

Interactive process viewer using fzf. Allows searching and killing processes with ctrl-x (SIGTERM) or F9 (SIGKILL).

gitup

Search for git repositories and pull updates in parallel. Supports multiple directories and can run non-interactively with -F.

depends on git

igr

Interactive grep/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

pkgup

Interactively select and upgrade packages. Works with various AUR helpers (pacaur, trizen, packer, apacman) or falls back to 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

Clone the repo and use make install:

# Install to /usr/local/bin (requires sudo)
sudo make install

# Or install to ~/.local/bin
make PREFIX=~/.local install

# Install a single script
make install-fzgit

# Uninstall
make uninstall
make uninstall-fzgit
# or with PREFIX
make PREFIX=~/.local uninstall

Notable Mentions

  • fzf-tab - use fzf to tab-complete everything in zsh
  • forgit - zsh alternative to/inspiration for fzgit

Legal

Copyright (C) 2023 Ronald Joe Record [email protected] 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/.

About

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

Topics

aptfzfgitmpdnpmpacmanvim

Resources

Readme
GPL-3.0 license
Activity

Stars

531 stars

Watchers

8 watching

Forks

32 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.