1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: cleanup randstr

This commit is contained in:
Joe Groocock 2017-10-03 11:49:06 +01:00
parent c01fc34e55
commit bbabfed119
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -247,9 +247,7 @@ i3b() {
}
alias sf=screenfetch
alias nf=neofetch
randstr() {
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $1 | head -n 1
}
randstr() { tr -dc 'a-zA-Z0-9' /dev/urandom | fold -w $1 | head -n 1; }
alias lab="ssh -tt tw '~/ctl' 2>/dev/null"