X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.shellrc;h=6cb771f2d0824c3f32514a33b3bbdaf8bd2ba7fa;hb=010b07f108be94c48aa69a7ca7547a4f8e12ea9d;hp=541417a422ae2ff1c5040e1e58c70f74b8867034;hpb=6bb05e7c4a2163426852a25089909e49b584ff85;p=dotfiles.git diff --git a/.shellrc b/.shellrc index 541417a..6cb771f 100644 --- a/.shellrc +++ b/.shellrc @@ -342,7 +342,7 @@ mc() { if test -n "$BASH_VERSION"; then MC_SAVE_OPS1="$OPS1" if [ "`type -t short_curdir`" = function ]; then - OPS1="\u@\h \`short_curdir\` \\$" + OPS1="\u@\${HOSTNAME::5} \`short_curdir\` \\$" else OPS1="\u@\h \W \\$" fi