From 95ad4336855b4e0fcdd861ff95138c1038734ec9 Mon Sep 17 00:00:00 2001 From: Alec Lomas Date: Tue, 9 Jul 2019 22:04:49 -0700 Subject: [PATCH] :fire: remove dash function never used it --- system/.function | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/system/.function b/system/.function index 95ebe24..edea384 100644 --- a/system/.function +++ b/system/.function @@ -12,16 +12,6 @@ cd() { builtin cd "$@" && ls } -# Open query in Dash app -dash() { - case $# in - 1) QUERY="$1";; - 2) QUERY="$1:$2";; - *) echo "Usage: dash [docset] query"; return 1; - esac - open "dash://$QUERY" -} - # Get gzip size of file gzip-size() { local bytesize=$(gzip -c $1 | wc -c) @@ -30,7 +20,7 @@ gzip-size() { echo "$formatted"kb } -# Automatically install globals and set npm config when switching nvm versions +# Automatically install globals when switching nvm versions nvm_with_config() { if [[ $1 == "install" ]]; then nvm "$@" -- 2.51.2