dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2c6589c5f72ff638bf66123fc66e9d995c0fa5a6
parent 26609e12816133e22ab7ae17261bab8646f22e66
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  4 Mar 2020 16:44:02 +0100

Remove unused script

Diffstat:
D.local/bin/fuzzylaunch | 20--------------------
1 file changed, 0 insertions(+), 20 deletions(-)

diff --git a/.local/bin/fuzzylaunch b/.local/bin/fuzzylaunch @@ -1,20 +0,0 @@ -#!/bin/sh -open="xdg-open" -[ "$(uname)" = "Darwin" ] && open="open" - -IFS= out=$(fzf --query="$1" --exit-0 \ - --expect=ctrl-o,ctrl-e,ctrl-y \ - --preview-window=hidden) -key=$(echo "$out" | sed 1q) -file=$(echo "$out" | sed 2q | tail -1) - -if [ -n "$file" ]; then - if [ "$key" = ctrl-e ]; then - nohup "$TERMINAL" -e "$EDITOR" "$file" >/dev/null 2>&1 & - elif [ "$key" = ctrl-o ]; then - cd "$(dirname "$file")" && nohup "$TERMINAL" >/dev/null 2>&1 & - else - nohup "$open" "$file" >/dev/null 2>&1 & - fi - sleep 0.25 -fi