Skip to content

Instantly share code, notes, and snippets.

View giautm's full-sized avatar
🐿️
Nice to meet you ʕ◔ϖ◔ʔ

Giau. Tran Minh giautm

🐿️
Nice to meet you ʕ◔ϖ◔ʔ
View GitHub Profile
@giautm
giautm / codespaces.zsh-theme
Created April 9, 2022 13:23 — forked from renbaoshuo/codespaces.zsh-theme
GitHub Codespaces zsh Theme
# Codespaces zsh prompt theme
__zsh_prompt() {
local prompt_username
if [ ! -z "${GITHUB_USER}" ]; then
prompt_username="@${GITHUB_USER}"
else
prompt_username="%n"
fi
PROMPT="%{$fg[green]%}${prompt_username} %(?:%{$reset_color%}➜ :%{$fg_bold[red]%}➜ )" # User/exit code arrow
PROMPT+='%{$fg_bold[blue]%}%(5~|%-1~/…/%3~|%4~)%{$reset_color%} ' # cwd
@giautm
giautm / postmortem.md
Created May 10, 2023 09:39 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym