mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
10 lines
146 B
Text
10 lines
146 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
echo "Dropping $1!"
|
||
|
mv "$HOME/inventory/$1" .
|
||
|
|
||
|
if [ "$#" -eq 3 ]; then
|
||
|
echo "x = $2" > "$1"
|
||
|
echo "y = $3" >> "$1"
|
||
|
fi
|