Skip to content

Instantly share code, notes, and snippets.

View erik-jenkins's full-sized avatar
🫐

Erik Jenkins erik-jenkins

🫐
View GitHub Profile
# 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'
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 May 21, 2023 08:18
Script to generate .pfx from Let's Encrypt .pem files
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