From 3dfe0934171842452dbe96f4239003dd6fd84a0a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 4 Sep 2018 14:27:06 -0400 Subject: [PATCH] getkeys now more autistic --- .scripts/getkeys | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.scripts/getkeys b/.scripts/getkeys index b28af20..928e435 100755 --- a/.scripts/getkeys +++ b/.scripts/getkeys @@ -1,12 +1,5 @@ #!/bin/sh -elsewhere() { echo Key mappings available for the following programs: -ls ~/.larbs -echo Run \`getkeys\` followed by a program name to get bindings ;} - -if [[ -f ~/.scripts/.getkeys/$1 ]]; then -cat ~/.scripts/.getkeys/$1 -else +cat ~/.scripts/.getkeys/"$1" 2>/dev/null && exit echo Run command with one of the following arguments for info about that program: ls ~/.scripts/.getkeys -fi