Skip to content

Commit

Permalink
[feat/#91] Fix: terminal design
Browse files Browse the repository at this point in the history
  • Loading branch information
NayeonKeum committed Sep 29, 2023
1 parent 0bd12cf commit 6c8a7d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/images/student-ubuntu/moaroom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ show_guide() {
echo "1. Go to a specific assignment directory by using the cli command"
echo " You can use moaroom -h | --help to see how to use it"
echo "========================================================================"

echo ""
}
list_assignments(){
echo "========================================================================"
Expand All @@ -58,6 +58,7 @@ list_assignments(){
done
echo "========================================================================"
echo "Remember the number and get the cmd line with -m | --to-assignment option"
echo ""
}
tree_assignments(){
echo "========================================================================"
Expand All @@ -66,6 +67,7 @@ tree_assignments(){
echo ""
tree "${DIR_PATH_STUDENT}"
echo "========================================================================"
echo ""
}
to_assignment(){
directory=`ls -l ${DIR_PATH_STUDENT} | awk 'NR=='"$((TARGET_ASSIGNMENT+1))"' {print $9}'`
Expand All @@ -74,6 +76,7 @@ to_assignment(){
echo "========================================================================"
echo "> cd \"${DIR_PATH_STUDENT}/${directory}\""
echo "========================================================================"
echo ""
}

while [ $# -gt 0 ]; do
Expand Down

0 comments on commit 6c8a7d6

Please sign in to comment.