Skip to content

Commit b6c8995

Browse files
committed
class11: fix lab's shell by fixing PS1 var
1 parent 9eaaeed commit b6c8995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY sshd_config /etc/ssh/sshd_config
99
COPY files /data
1010

1111
ENV TERM=xterm-256color
12-
RUN echo "PS1='\e[92m\u\e[0m@\e[94m\h\e[0m:\e[35m\w\e[0m# '" >> /root/.bashrc && \
12+
RUN echo "PS1='\[\e[92m\]\u\[\e[0m\]@\[\e[94m\]\h\[\e[0m\]:\[\e[35m\]\w\[\e[0m\]# '" >> /root/.bashrc && \
1313
echo "export LC_CTYPE=C.UTF-8" >> /root/.bashrc && \
1414
echo 'export PATH=$PATH:/opt/zeek/bin' >> /root/.bashrc
1515

0 commit comments

Comments
 (0)