Skip to content

Instantly share code, notes, and snippets.

@denmojo
Created July 8, 2017 06:43
Show Gist options
  • Select an option

  • Save denmojo/1001dfa7b467356f7a47055d5e7dd49f to your computer and use it in GitHub Desktop.

Select an option

Save denmojo/1001dfa7b467356f7a47055d5e7dd49f to your computer and use it in GitHub Desktop.
zsh prompt (macOS)
setopt HIST_IGNORE_SPACE
alias cleardns="sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say DNS cache flushed"
PROMPT='%W %* ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%{$reset_color%}'
@denmojo
Copy link
Author

denmojo commented Jul 8, 2017

screen shot 2017-07-07 at 11 45 21 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment