summaryrefslogtreecommitdiffstats
path: root/.scripts/getkeys
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/getkeys')
-rwxr-xr-x.scripts/getkeys9
1 files changed, 1 insertions, 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