dot

packages and services management
Log | Files | Refs | README

commit 788e3ea4dd792fe42604ce1c362ca6973bd03fff
parent fc0f8e735fd1399f3b61d183cfb4807a78089477
Author: josuah <mail@josuah.net>
Date:   Sat,  1 Oct 2016 01:26:55 -0400

Added a lot of projects

Diffstat:
MREADME | 2+-
Mbin/bkm | 4++--
Mbin/buffers | 12++++++------
Mbin/complete | 4++--
Mbin/feeds | 4++--
Mbin/music | 2+-
Mbin/swiper | 2+-
Abyacc/build.sh | 3+++
Afzf/build.sh | 8++++++++
Alchat/build.sh | 3+++
Mlibncurses/build.sh | 2+-
Alibutf/build.sh | 3+++
Am4/build.sh | 3+++
Apcre/build.sh | 3+++
Aratox/build.sh | 3+++
Areflex/build.sh | 3+++
Mshell/.profile | 4++--
Atoxcore/build.sh | 3+++
Mvim/.vim/vimrc | 2+-
Ayasm/build.sh | 3+++
20 files changed, 54 insertions(+), 19 deletions(-)

diff --git a/README b/README @@ -49,7 +49,7 @@ VIM undotree http://github.com/mbbill/undotree surround http://github.com/tpope/vim-surround lion http://github.com/tommcdo/vim-lion - fzy http://github.com/Dkendal/fzy-vim + fzf http://github.com/junegunn/fzf-vim gitgutter http://github.com/airblade/vim-gitgutter racket http://github.com/wlangstroth/vim-racket diff --git a/bin/bkm b/bin/bkm @@ -11,7 +11,7 @@ BOOKMARKS="${BKM:-$HOME/.cache/bkm}" if [ "$#" -eq 0 ] then - url="$(fzy < $BOOKMARKS)" + url="$(fzf < $BOOKMARKS)" [ "${url##* }" ] && TERM=screen $BROWSER "${url##* }" printf '\n\n\n\n\n\n\n' @@ -21,7 +21,7 @@ fi printf 'url: '; read url printf 'description: '; read description tag="$( - sed -r 's/^([^ ]*).*/\1/' "$BOOKMARKS" | uniq | fzy | tr '[a-z]' '[A-Z]' + sed -r 's/^([^ ]*).*/\1/' "$BOOKMARKS" | uniq | fzf | tr '[a-z]' '[A-Z]' )" printf '%s %s %s\n' "$tag" "$description" "$url" >> "$BOOKMARKS" diff --git a/bin/buffers b/bin/buffers @@ -7,7 +7,7 @@ #=============================================================================== # Run commands in detachable buffers # -# External: stest, fzy, abduco +# External: stest (dmenu), fzf, abduco # Busybox: mkdir, tee, sort, clear, tr, sed help=' @@ -44,7 +44,7 @@ r | run ) if stest -dqr -n "$cache" $PATH then stest -flx $PATH | sort -u | tee "$cache" else tee < "$cache" - fi | fzy + fi | fzf )" # Get command arguments and the session name @@ -58,18 +58,18 @@ r | run ) irc ) opt='-i' ;; htop | s-nail | rirc | agenda | music ) : ;; vi | vis | less | ex-vi | ex | ed ) - path="$(find ./ -type f ! -path '*/.git/*' | fzy)" + path="$(find ./ -type f ! -path '*/.git/*' | fzf)" [ -z "$path" ] && exit 1 ;; vim ) - path="$(find ./ -type d ! -path '*/.git/*' ! -name .git | fzy)" + path="$(find ./ -type d ! -path '*/.git/*' ! -name .git | fzf)" [ -z "$path" ] && exit 1 ;; * ) read opt if [ -z "${opt##*\**}" -a "$opt" ] then - path="$(find -type f ./ | fzy)" + path="$(find -type f ./ | fzf)" opt="${opt##*\*} $path ${opt%%\**}" [ -z "$path" ] && exit 1 fi @@ -88,7 +88,7 @@ a | attach ) printf '\033[1A' # get the session name by prompting the user - name="$(abduco | sed 1d | sort -k 4 | tr ! / | fzy | tr / !)" + name="$(abduco | sed 1d | sort -k 4 | tr ! / | fzf | tr / !)" name="${name##*$TAB}" printf '%s\n' "$name" diff --git a/bin/complete b/bin/complete @@ -40,12 +40,12 @@ case "$ACTION" in -w ) sed 's/[[:space:]]/\n/g' "$FILE" | sort -u | while read word do [ -z "${word##$PREFIX*}" ] && printf '%s\n' "$word" - done | fzy | { + done | fzf | { IFS="$NL" read -r word printf '%s\n' "$word" } ;; -l ) - fzy -q "$PREFIX" < "$FILE" + fzf -q "$PREFIX" < "$FILE" ;; esac diff --git a/bin/feeds b/bin/feeds @@ -169,9 +169,9 @@ view() sort -ro "$tempfile" "$tempfile" selection="$(cat "$CACHE/$(cat "$tempfile" \ - | fzy \ + | fzf \ | sed 's/ *[0-9]* //')" \ - | fzy \ + | fzf \ | awk '{ print $NF }')" rm "$tempfile" diff --git a/bin/music b/bin/music @@ -10,7 +10,7 @@ cd "$HOME/Music" while : -do find . -mindepth 1 -type f -follow | sed 's/^.\///' | fzy -l 25 | { +do find . -mindepth 1 -type f -follow | sed 's/^.\///' | fzf | { read track [ "$track" ] && mplayer "$track" } diff --git a/bin/swiper b/bin/swiper @@ -7,7 +7,7 @@ #=================\/================================================ # A search with an overview. Oh, man! -FILTER=fzy +FILTER=fzf-tmux i=0 [ ! -f $1 ] && printf 'USAGE:\tswiper [file]\n' diff --git a/byacc/build.sh b/byacc/build.sh @@ -0,0 +1,3 @@ +# Rewrite of YACC: Yet Another Compiler Compiler + +tar=http://invisible-island.net/datafiles/release/byacc.tar.gz diff --git a/fzf/build.sh b/fzf/build.sh @@ -0,0 +1,8 @@ +# FuZzy Finder for the command line + +tar=http://github.com/junegunn/fzf/archive/master.tar.gz + +build() +{ + ./install +} diff --git a/lchat/build.sh b/lchat/build.sh @@ -0,0 +1,3 @@ +# Interface to binoc chat clients + +tar=http://github.com/younix/lchat/archive/master.tar.gz diff --git a/libncurses/build.sh b/libncurses/build.sh @@ -1,3 +1,3 @@ # The almighty ncurses library -tar= +tar=http://invisible-mirror.net/archives/ncurses/ncurses-6.0.tar.gz diff --git a/libutf/build.sh b/libutf/build.sh @@ -0,0 +1,3 @@ +# Plan-9 C89 UTF-8 library + +tar=http://github.com/cls/libutf/archive/master.tar.gz diff --git a/m4/build.sh b/m4/build.sh @@ -0,0 +1,3 @@ +# Macro language processor m4 + +tar=http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz diff --git a/pcre/build.sh b/pcre/build.sh @@ -0,0 +1,3 @@ +# Perl-Compatible Regular Expressions + +tar=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.20.tar.gz diff --git a/ratox/build.sh b/ratox/build.sh @@ -0,0 +1,3 @@ +# FIFO-based tox chat client + +tar=http://dl.2f30.org/releases/ratox-0.2.1.tar.gz diff --git a/reflex/build.sh b/reflex/build.sh @@ -0,0 +1,3 @@ +# Re-Localized FLex: Fast Lexical scanner. + +tar=http://invisible-island.net/datafiles/release/reflex.tar.gz diff --git a/shell/.profile b/shell/.profile @@ -91,8 +91,8 @@ alias lla='l -Alh' alias v='$VISUAL' alias p='$PAGER' alias t='tmux attach || tmux' -alias f='find . -type f ! -path "*/.git/*" | fzy' -alias d='find . -type d ! -path "*/.git/*" | fzy' +alias f='find . -type f ! -path "*/.git/*" | fzf' +alias d='find . -type d ! -path "*/.git/*" | fzf' alias c='cd "$(d)"' alias a='buffers attach' alias r='buffers run' diff --git a/toxcore/build.sh b/toxcore/build.sh @@ -0,0 +1,3 @@ +# Tox chat protocol core libraries + +tar=http://github.com/irungentoo/toxcore/archive/master.tar.gz diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -57,7 +57,7 @@ nmap <Leader>m :silent !make clean<CR>:silent make \| redraw! \| clist<CR> nmap <Leader>/ :exe ':' . system("swiper '" . expand("%:p") . "'") \ \| redraw!<CR> nmap <Leader>e :pwd \| echo ''<CR>:exe 'e' -\ system("find . -type f ! -path '*/.git/*' \| fzy") +\ system("find . -type f ! -path '*/.git/*' \| fzf-tmux") \ \| redraw!<CR> " <c>hange <o>ption <...> diff --git a/yasm/build.sh b/yasm/build.sh @@ -0,0 +1,3 @@ +# Modular Assembler Project + +tar=http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz