Skip to content

Instantly share code, notes, and snippets.

View kscarlett's full-sized avatar

kscarlett kscarlett

View GitHub Profile
# The prompt
#PROMPT='$(_user_host)$(_python_venv)%{$fg[cyan]%}%c $(git_prompt_info)%{$reset_color%}$(_git_time_since_commit)$(git_prompt_status)${_return_status}➜ '
# Prompt with SHA
PROMPT='$(_user_host)$(_python_venv)%{$fg[cyan]%}%c $(git_prompt_info)%{$reset_color%}$(git_prompt_short_sha)%{$fg[magenta]%}$(_git_time_since_commit)$(git_prompt_status)${_return_status}➜ '
local _return_status="%{$fg[red]%}%(?..⍉ )%{$reset_color%}"
function _user_host() {
if [[ -n $SSH_CONNECTION ]]; then

Keybase proof

I hereby claim:

  • I am kscarlett on github.
  • I am kscarlett (https://keybase.io/kscarlett) on keybase.
  • I have a public key whose fingerprint is 74D8 D077 72C8 642C 4F71 7E00 4622 FA56 F96C 77FA

To claim this, I am signing this object: