diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-09-04 14:27:06 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-09-04 14:27:06 -0400 |
| commit | 3dfe0934171842452dbe96f4239003dd6fd84a0a (patch) | |
| tree | 40c3394f3002acd57379eb2d7307c8290554ea13 | |
| parent | 7132b2ba87bf311e0893267b5083a27c88edbbca (diff) | |
| download | eibhear-3dfe0934171842452dbe96f4239003dd6fd84a0a.tar.gz eibhear-3dfe0934171842452dbe96f4239003dd6fd84a0a.tar.zst eibhear-3dfe0934171842452dbe96f4239003dd6fd84a0a.zip | |
getkeys now more autistic
| -rwxr-xr-x | .scripts/getkeys | 9 |
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 |
