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
383 B
Plaintext
18 lines
383 B
Plaintext
12 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# display hostname
|
||
|
PS1="\[$blue\]«\h»"
|
||
|
# 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\[$black\]\D{%F %I:%M%P} "
|
||
|
# display date
|
||
|
PS1="$PS1\[$color_off\]\n⚓ "
|
||
|
|