voidrice/.scripts/getkeys

13 lines
342 B
Text
Raw Normal View History

2018-07-08 13:08:07 +00:00
#!/bin/sh
elsewhere() { echo Key mappings available for the following programs:
ls ~/.larbs
2018-08-04 18:16:03 +00:00
echo Run \`getkeys\` followed by a program name to get bindings ;}
2018-07-08 13:08:07 +00:00
2018-08-04 18:16:03 +00:00
if [[ -f ~/.scripts/.getkeys/$1 ]]; then
cat ~/.scripts/.getkeys/$1
2018-07-08 13:08:07 +00:00
else
echo Run command with one of the following arguments for info about that program:
2018-08-04 18:16:03 +00:00
ls ~/.scripts/.getkeys
2018-07-08 13:08:07 +00:00
fi