.shellrc: Add the current directory for `mc`
authorOleg Broytman <phd@phdru.name>
Mon, 11 May 2020 17:26:32 +0000 (20:26 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 11 May 2020 17:26:32 +0000 (20:26 +0300)
.shellrc

index 5b1e1d3..aef3451 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -344,7 +344,7 @@ include() {
 mc() {
    if test -n "$BASH_VERSION"; then
       MC_SAVE_OPS1="$OPS1"
-      OPS1="\u@\h "
+      OPS1="\u@\h \W "
    fi
 
    if [ -n "$SLOWTERM" ]; then