Skip to content

Commit 07af6a7

Browse files
Merge pull request #9 from CodeMaster7000/CodeMaster7000-patch-1
Create Spinner-Loader.sh
2 parents 5e26fd3 + dcc905e commit 07af6a7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Spinner-Loader.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
arr=('-' '\' '|' '/')
3+
while true; do
4+
for c in "${arr[@]}"; do
5+
echo -en "\r $c "
6+
sleep .5
7+
done
8+
done

0 commit comments

Comments
 (0)