Skip to content

Commit e5f3fa9

Browse files
committed
shortter prompt
1 parent ae50e07 commit e5f3fa9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN adduser dev --disabled-password --gecos "" && \
2525
echo 'TERM="xterm-256color"' >> ~/.bashrc && \
2626
sed -i 's/#force_color_prompt=yes/force_color_prompt=yes/g' \
2727
~/.bashrc && \
28+
echo 'PS1=`echo $PS1|sed "s/\\\\\\w/\\\\\\W/g"`' >> ~/.bashrc && \
2829
ln -s /usr/include/lua5.2/ /usr/include/lua && \
2930
ln -s /usr/lib/x86_64-linux-gnu/liblua5.2.so /usr/lib/liblua.so && \
3031
gem install compass --pre && \

0 commit comments

Comments
 (0)