1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00

add wipe function for noisy programs

This commit is contained in:
Connor Olding 2016-10-10 08:40:26 -07:00
parent 589a65612e
commit 83a04d635d
2 changed files with 8 additions and 2 deletions

View File

@ -137,7 +137,7 @@ alias rakef='rake && gem build *.gemspec && gem install *.gem'
#
alias profile="CPUPROFILE=./a.pprof LD_PRELOAD=/usr/lib/libprofiler.so"
function trash() {
trash() {
dd status=none if=/dev/random bs=1 count="$1"
}

View File

@ -125,7 +125,13 @@ alias -g OMFG="1>/dev/null"
alias -g STFU="2>/dev/null"
alias -g WHOA='${whoa[@]}'
alias sc="$HOME/sh/sc"
wipe() {
clear
clear # twice because mintty is weird
echo "\e[30m\e[107m"
printf "*%.0s" {1..$COLUMNS}
echo "\e[0m\n"
}
for x in ack cd cp ebuild gcc gist grep ln man mkdir mv rm
alias $x="nocorrect $x"