Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 1e84a2b

Browse files
author
Aleksi Salmela
committed
Some minor text changes.
1 parent 34261e1 commit 1e84a2b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ TMC-CLI is the command-line client for University of Helsinki's TestMyCode -fram
2828
`cd` into the directory where you wish to install TMC-CLI. Then, copy and paste the following command in your terminal:
2929

3030
```
31-
curl -0 https://raw.githubusercontent.com/testmycode/tmc-cli/master/scripts/install.sh | bash; source ~/.bashrc
31+
curl -0 https://raw.githubusercontent.com/testmycode/tmc-cli/master/scripts/install.sh | bash
3232
```
3333

34-
TMC-CLI should now be installed. You can try running it with `tmc`.
34+
TMC-CLI should now be installed. You can try running it with `tmc` in a new terminal.
3535

3636
###Manual installation
3737

scripts/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ fi
1414
echo "Fetching latest release URL"
1515
if ! PAGE=$(curl -s https://api.github.com/repos/testmycode/tmc-cli/releases/latest); then
1616
echo "Failed to fetch latest release from github api." >&2
17+
exit
1718
fi
1819
URL=$(echo "$PAGE" | grep '"browser_download_url"' | grep '/tmc"' | head -n 1 | cut -d '"' -f 4)
1920

scripts/stub.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ tmc_install_hook() {
161161
# has strict mode and user has manually removed tmc script
162162
echo "source $AUTOCOMPLETE_FILE || true" >> "$PROFILE_FILE"
163163

164-
echo "To use new autocompletion run the following on command line:" >&1
165-
echo ". $PROFILE_FILE" >&1
164+
echo "To use new autocompletion open a new terminal or run the following command:" >&1
165+
echo "source $PROFILE_FILE" >&1
166166
}
167167

168168
## Auto update code

0 commit comments

Comments
 (0)