aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-02-14 23:14:21 +0800
committerLAN-TW <lantw44@gmail.com>2012-12-22 00:00:00 +0800
commit5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd (patch)
tree5657852e5f0043e9c7237769376206cd07240734
parentdc892e90bf5ba5bed8b47def5910dca19e98d741 (diff)
downloadconfigfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar.gz
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar.bz2
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar.lz
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar.xz
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.tar.zst
configfile-5a77cd1ceefbccb2b96a2d5fbe515d7a51e288bd.zip
bash_include: 修正 PS1 與 mkscreenacl 的錯誤bash_include-20121222
-rw-r--r--bash_include6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash_include b/bash_include
index 3d017cb..ae82ca7 100644
--- a/bash_include
+++ b/bash_include
@@ -43,8 +43,8 @@ then
nocolorprompting="$nocolorprompting<$WINDOW>"
fi
-colorprompting="${colorprompting}\$ "
-nocolorprompting="${nocolorprompting}\$ "
+colorprompting="${colorprompting}\\$ "
+nocolorprompting="${nocolorprompting}\\$ "
historycountfile="$HOME/.bash_history.count"
historybackupfile="$HOME/.bash_history.bak"
@@ -166,7 +166,7 @@ function mkscreenacl ()
do
echo "aclchg $1 +x $i"
done
- echo "aclchg $1 -rw \"#?\""
+ echo "aclchg $1 -rw \"\#?\""
shift
done
}