dotfiles/zsh/aliases.d/own.zsh
2015-07-16 18:57:43 +02:00

20 lines
446 B
Bash

# Own Aliases
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
alias clf='clf --color'
# The Fuck
alias fuck='eval $(thefuck $(fc -ln -1))'
# PClear
pclear () {
clear
printf '\033[3J'
}
# Create SSL One Line
sslcreate() {
openssl genrsa -out private/$1.key 2048
openssl req -new -key private/$1.key -out csr/$1.csr -sha256
openssl x509 -req -days 365 -in csr/$1.csr -signkey private/$1.key -out certs/$1.crt
}