Skip to content

Instantly share code, notes, and snippets.

Avatar
🦜

Erik Jenkins erik-jenkins

🦜
View GitHub Profile
View erik.zsh-theme
PROMPT='🚀 %{$fg_bold[cyan]%}%c%{$reset_color%} $(git_prompt_info)
'
PROMPT+="%(?:%{$fg_bold[green]%}└─ :%{$fg_bold[red]%}└─ )%{$reset_color%}"
PROMPT+="%B%F{244}%w, %* %{$reset_color%}"
PROMPT+="%(?:%{$fg_bold[green]%}─┤ :%{$fg_bold[red]%}─┤ )%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
@erik-jenkins
erik-jenkins / letsencrypt_generate_pfx.sh
Last active Dec 6, 2020
Script to generate .pfx from Let's Encrypt .pem files
View letsencrypt_generate_pfx.sh
if [ "$#" -ne 3 ]; then
echo "Usage: letsencrypt_generate_pfx.sh <domain> <password> <output>"
echo "Example: letsencrypt_generate_pfx.sh fingerguns.co p4ssw0rd /some/dir/certificate.pfx"
exit 1
fi
domain=$1
password=$2
output=$3
View Bash aliases
# bash aliases
alias l='ls -lah'
alias lg='ls -lah | grep -i $1'
alias c='clear'
alias reload='source ~/.bashrc'
# git aliases
alias gs='git status'
alias gcm='git commit -m'
alias gl='git log'