From 85c7c435c4ab74d2839ce080e859bfc4b21250b8 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 3 Oct 2016 03:54:11 -0700 Subject: move 'f' to init/funcs --- .zshrc-linux | 15 --------------- 1 file changed, 15 deletions(-) (limited to '.zshrc-linux') diff --git a/.zshrc-linux b/.zshrc-linux index 16d4add..b5de6cd 100644 --- a/.zshrc-linux +++ b/.zshrc-linux @@ -29,21 +29,6 @@ b2h() { echo "${val}${suffixes[$sindex]}" } -if [[ $(whence fzf) ]]; then - f() { - local file - fzf --color=16 --black \ - --bind=ctrl-b:page-up,ctrl-f:page-down \ - | read file - - [[ -z "$file" ]] && return - - [[ $(xclip -o 2>/dev/null) ]] || { echo "${file:a}"; return } - - echo "${file:a}" | xclip -i -selection clipboard - } -fi - # ignore non-tracked files git() { if [[ $# -gt 0 ]] && [[ "$1" == "status" ]]; then -- cgit v1.2.3