17 lines
480 B
Bash
17 lines
480 B
Bash
# system-aliasses
|
|
if [ -f "$DEV_ENV_PATH/.aliases" ]; then
|
|
. "$DEV_ENV_PATH/.aliases"
|
|
fi
|
|
|
|
# binaries
|
|
. $DEV_ENV_PATH/bin/denv
|
|
. $DEV_ENV_PATH/bin/dcom
|
|
. $DEV_ENV_PATH/bin/drun
|
|
. $DEV_ENV_PATH/bin/git
|
|
. $DEV_ENV_PATH/bin/ssh
|
|
|
|
# git branch in shell
|
|
parse_git_branch() {
|
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
|
|
}
|
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(parse_git_branch)\[\033[00m\]\$ ' |