You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
445 B
Bash

#!/usr/bin/env bash
# display hostname
PS1="\[$green\]"'\u'"\[$yellow\] "
PS1="$PS1\[$(_hostname-color)\]"'$(_hostname-show)'""
# display separator
PS1="$PS1\[$yellow\] "
# display current path
PS1="$PS1\[$green\]\w "
# display git branch
PS1="$PS1\[$bblack\]"'$(parse_git_branch)'
# display git status
PS1="$PS1\[$yellow\]"'$(parse_git_status) '
# display date
PS1="$PS1\[$purple\]\D{%F %I:%M%P} "
# display date
PS1="$PS1\[$color_off\]\nλ "