Merge branch 'master' into 'master'

terminal can clear 40 times faster

See merge request dwt1/dotfiles!53
This commit is contained in:
Derek Taylor
2021-11-04 14:30:25 +00:00

View File

@@ -206,7 +206,9 @@ end
### ALIASES ###
alias clear='/bin/clear; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; echo; echo'
# \x1b[2J <- clears tty
# \x1b[1;1H <- goes to (1, 1) (start)
alias clear='echo -en "\x1b[2J\x1b[1;1H" ; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; echo; echo'
# root privileges
alias doas="doas --"