X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=89b65dc3c6b58e03234e43ac0dba93c9e830cc65;hp=07d4f98ced6178296619baaf9824deb83aebf034;hb=bbaf1218569bfccc59bece1d5735f91efa6a2e8c;hpb=8fb8aca8fa89a88c48f75addae7b2722f675671d diff --git a/.profile b/.profile index 07d4f98..89b65dc 100644 --- a/.profile +++ b/.profile @@ -192,8 +192,8 @@ if [ -t 0 ] ; then ;; esac - if [ -r "$HOME"/admin/prog/short_curdir ]; then - . "$HOME"/admin/prog/short_curdir + if [ -r "$HOME"/admin/prog/bash_prompt ]; then + . "$HOME"/admin/prog/bash_prompt OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\${HOSTNAME::5} \`short_curdir\` \\$" else OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \W \\$"