Skip to content

Instantly share code, notes, and snippets.

View emunozhern's full-sized avatar
🏠
Working from home

Edward Muñoz emunozhern

🏠
Working from home
View GitHub Profile
@emunozhern
emunozhern / multiple_ssh_setting.md
Created November 19, 2021 02:07 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@emunozhern
emunozhern / agnoster.zsh-theme
Last active January 13, 2020 18:59
My config in `~/.oh-my-zsh/themes/agnoster.zsh-theme` to random emoji.
prompt_context() {
# Custom (Random emoji)
emojis=("⚡️" "🔥" "💀" "👑" "😎" "🐸" "🐵" "🦄" "🌈" "🍻" "🚀" "💡" "🎉" "🔑" "🇹🇭" "🚦" "🌙")
RAND_EMOJI_N=$(( $RANDOM % ${#emojis[@]} + 1))
prompt_segment black default "${emojis[$RAND_EMOJI_N]} "
}