Added Dotfiles

This commit is contained in:
Nikolas Weger 2015-07-16 18:57:43 +02:00
parent 9cd2220adb
commit 9ea4faff29
17 changed files with 622 additions and 0 deletions

20
zsh/aliases.d/own.zsh Normal file
View file

@ -0,0 +1,20 @@
# 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
}