Adding files
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
|
||||
host=sdf.org
|
||||
user=scm
|
||||
|
||||
echo "I will get the games list."
|
||||
echo "When it is displayed, use the up and down arrow keys to navigate it."
|
||||
@@ -27,16 +28,16 @@ echo "Press the Q key to close it."
|
||||
echo -n "Press the Return/Enter key now until the list displays: "
|
||||
read key
|
||||
|
||||
mosh $USER@$host games > games.txt
|
||||
mosh $user@$host games > games.txt
|
||||
|
||||
# To do: write some logic that checks if games.txt exists, if it does, ask
|
||||
# the user if they are OK with it be overwritten.
|
||||
|
||||
mosh $USER@$host less games.txt
|
||||
mosh $user@$host less games.txt
|
||||
|
||||
echo -n "Type the name of the game that you want to play: "
|
||||
read game
|
||||
|
||||
mosh $USER@$host $game
|
||||
mosh $user@$host $game
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user