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

Add aliases for random string and cat'ing files with their names

This commit is contained in:
Joe Groocock 2017-01-16 20:08:43 +00:00
parent fc89b6359b
commit abce3a12c9
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -56,6 +56,7 @@ alias dd='dd status=progress'
alias s=systemctl alias s=systemctl
alias p=pacaur alias p=pacaur
alias ps='ps aux' alias ps='ps aux'
alias catn='tail -n +1 -- *.txt'
kl() { kill -9 `pidof $1` } kl() { kill -9 `pidof $1` }
alias chx='chmod +x' alias chx='chmod +x'
@ -197,6 +198,9 @@ i3b() {
} }
alias sf=screenfetch alias sf=screenfetch
alias nf=neofetch alias nf=neofetch
randstr() {
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $1 | head -n 1
}
alias lab="ssh -tt tw '~/ctl' 2>/dev/null" alias lab="ssh -tt tw '~/ctl' 2>/dev/null"