mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
add wipe function for noisy programs
This commit is contained in:
parent
589a65612e
commit
83a04d635d
2 changed files with 8 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue