X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.bashrc;fp=.bashrc;h=f516a374c36abd98560693fb7bfb4ed4247152fb;hp=3255cb6d6892ad96e983e1b4674267dd501c840a;hb=37eec285330d0072c8095e64631b4ad8f0c92d26;hpb=a76afb2b4578dc34da0abd6d61c54a9345800f5e diff --git a/.bashrc b/.bashrc index 3255cb6..f516a37 100644 --- a/.bashrc +++ b/.bashrc @@ -53,6 +53,14 @@ back() { cd - "$@"; } functions() { typeset -f "$@"; } j() { jobs; } +if [ -r "$HOME"/admin/prog/bash_prompt ]; then + . "$HOME"/admin/prog/bash_prompt + set_prompt + unset set_prompt +else + PS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ " +fi + if [ -z "$BASH_COMPLETION_COMPAT_DIR" ]; then if [ -d /usr/share/bash-completion -a -r /usr/share/bash-completion/bash_completion ]; then _BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions