This repository was archived by the owner on Jun 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1414echo " Fetching latest release URL"
1515if ! 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
1718fi
1819URL=$( echo " $PAGE " | grep ' "browser_download_url"' | grep ' /tmc"' | head -n 1 | cut -d ' "' -f 4)
1920
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments