4

[solved] problem with prompt in .bashrc

view full story
linux-howto

http://crunchbanglinux.org – Hello, I modified my prompt command in the .bashrc file like this :if [ "$color_prompt" = yes ]; then #original line, works # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1='\n\[\033[0;32m\]───[\u@\h]──[`date '+%H:%M'`]──> \[\033[1;32m\]${PWD}\n \033[1;37m\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fithe output looks like that :───[ll@p5w]──[23:10]──> /home/ll $ Now, if I type theses commands:ls cd /tmp echo "Crunch (HowTos)