bonjour,

je recherche à adapter le fichier .bashrc afin qu'il puisse être employé
sur n'importe quel "environnement"  (BSD & co) ....

voici les lignes qui sont incriminées


if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
   
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\...@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
'
    PS1='${debian_chroot:+($debian_chroot)}...@\h:\w\$ '
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}...@\h: \w\a\]$PS1"

slt
bernard

Répondre à