aboutsummaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-12 22:30:54 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-12 22:30:54 -0500
commitb0b68279b87b56649f7bff05bb12b6678a117dcf (patch)
treec4e805b263842447cef88c1d37825cf8882e944b /mkshrc
parent6d105ee1d9f2737493cdb4c5d1317d066a5a5304 (diff)
downloaddotfiles-b0b68279b87b56649f7bff05bb12b6678a117dcf.tar.gz
dotfiles-b0b68279b87b56649f7bff05bb12b6678a117dcf.tar.xz
add a couple of silly functions
Diffstat (limited to 'mkshrc')
-rw-r--r--mkshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkshrc b/mkshrc
index af09ae7..ce871cd 100644
--- a/mkshrc
+++ b/mkshrc
@@ -173,6 +173,12 @@ debugstarttls() {
unfuck_steam() {
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' /usr/bin/steam
}
+counter_figlet() {
+COUNTER="1"; while true ; do figlet "$COUNTER" ; COUNTER="$(echo $COUNTER+1 |bc )" ; sleep 1 ; clear ; done
+}
+counter_single_line() {
+COUNTER="1"; while true ; do sleep 1 ; printf "\t$COUNTER\r" ; COUNTER="$(echo $COUNTER+1 |bc )" ; done
+}
# First argument is the interface on which to scan
ipv6_local_hosts() {
if ! [ -z $1 ] ; then