mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 10:00:43 -06:00
16 lines
140 B
Bash
16 lines
140 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
msg() {
|
||
|
printf '%s\n' "$1" | pv -qL 12
|
||
|
sleep 1
|
||
|
}
|
||
|
|
||
|
cmd (){
|
||
|
clear
|
||
|
printf 'bash >> '
|
||
|
msg "$1"
|
||
|
$1
|
||
|
sleep 2
|
||
|
}
|
||
|
|