|
|
@ -1,18 +1,18 @@
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
|
|
# display hostname
|
|
|
|
# display hostname
|
|
|
|
PS1="\[$(_hostname-color)\]«"'$(_hostname-show)'"»"
|
|
|
|
PS1="\[$green\]"'\u'"\[$yellow\]✰"
|
|
|
|
|
|
|
|
PS1="$PS1\[$(_hostname-color)\]"'$(_hostname-show)'""
|
|
|
|
# display separator
|
|
|
|
# display separator
|
|
|
|
PS1="$PS1\[$yellow\]⚡"
|
|
|
|
PS1="$PS1\[$yellow\]➣"
|
|
|
|
# display current path
|
|
|
|
# display current path
|
|
|
|
PS1="$PS1\[$green\]\w "
|
|
|
|
PS1="$PS1\[$green\]\w "
|
|
|
|
# display git branch
|
|
|
|
# display git branch
|
|
|
|
PS1="$PS1\[$bblack\]"'$(parse_git_branch)'
|
|
|
|
PS1="$PS1\[$bblack\]"'$(parse_git_branch)'
|
|
|
|
# display git status
|
|
|
|
# display git status
|
|
|
|
PS1="$PS1\[$yellow\]"'$(parse_git_status) '
|
|
|
|
PS1="$PS1\[$yellow\]"'$(parse_git_status) '
|
|
|
|
# display date
|
|
|
|
# display date
|
|
|
|
PS1="$PS1\[$black\]\D{%F %I:%M%P} "
|
|
|
|
PS1="$PS1\[$black\]\D{%F %I:%M%P} "
|
|
|
|
# display date
|
|
|
|
# display date
|
|
|
|
PS1="$PS1\[$color_off\]\nλ "
|
|
|
|
PS1="$PS1\[$color_off\]\nλ "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|