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

Fix broken randstr command

This commit is contained in:
Joe Groocock 2017-11-10 12:42:42 +00:00
parent c5ca8bef94
commit 287456056c
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -258,7 +258,7 @@ i3b() {
}
alias sf=screenfetch
alias nf=neofetch
randstr() { tr -dc 'a-zA-Z0-9' /dev/urandom | fold -w $1 | head -n 1; }
randstr() { tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w $1 | head -n 1; }
alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"
alias lab="ssh -tt tw '~/ctl' 2>/dev/null"