Skip to content

Instantly share code, notes, and snippets.

@kunal394
Created September 20, 2016 15:37
Show Gist options
  • Save kunal394/0f0ba8d1234c54dc972162ae3c2d0e78 to your computer and use it in GitHub Desktop.
Save kunal394/0f0ba8d1234c54dc972162ae3c2d0e78 to your computer and use it in GitHub Desktop.
PROMPT='$fg_bold[blue][ $fg[red]%t $fg_bold[blue]] $fg_bold[blue] [ $fg[red]%n@%m:%~$(git_prompt_info)$fg[yellow]$(rvm_prompt_info)$fg_bold[blue] ] $fg_bold[blue] [ $fg[red]eth: `hostname -I | cut -d" " -f 1` $fg_bold[blue]] $fg_bold[blue] [ $fg[red]wlan: `hostname -I | cut -d" " -f 2` $fg_bold[blue]] $fg_bold[blue] [ $fg[red]ext: `getextip 2> /dev/null` $fg_bold[blue]]$reset_color
$ '
# git theming
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[green]("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
ZSH_THEME_GIT_PROMPT_CLEAN="✔"
ZSH_THEME_GIT_PROMPT_DIRTY="✗"
#along with the ip address added to PS1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment