dotfiles/scripts/shortcuts/shortcuts
2017-06-17 18:35:23 +02:00

10 lines
289 B
Bash
Executable file

#!/bin/bash
## Interactive prompt to show linux syntax
Shortcuts=$HOME/Sync/Linux/Syntax/*
echo "Which shortcut would you like to be shown?"
for file in $Shortcuts; do
echo $file
done
read input_variable
echo "You've selected $input_variable'"
cat $HOME/Sync/Linux/Syntax/$input_variable