File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
# If not root
2
- if [ " $( whoami) " != " root" ]; then
2
+ if [ ` id -u` -ne 0 ]; then
3
+
4
+ # Library
5
+ . /opt/cs50/lib/cli
3
6
4
7
# Check if running locally and set $RepositoryName if not already set
5
8
if [[ " $CODESPACES " != " true" && -z " $RepositoryName " ]]; then
@@ -85,12 +88,14 @@ if [ "$(whoami)" != "root" ]; then
85
88
86
89
# Helpers
87
90
function _helped() {
88
- : # TODO
91
+ : # TODO: invoke command that hides help50 button
89
92
}
90
93
function _helpful() {
91
- : # TODO
94
+ _alert " 🦆 Click ` help50` for help" # Temporary, to introduce new feature
95
+ : # TODO: invoke command that sends $1 to ddb50 as though from duck itself
92
96
}
93
97
function _helpless() {
94
- : # TODO
98
+ _alert " 🦆 Click ` help50` for help" # Temporary, to introduce new feature
99
+ : # TODO: invoke command that sends $1 to ddb50 as though from student
95
100
}
96
101
fi
You can’t perform that action at this time.
0 commit comments