# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
PS1=[\u] `pwd` : `du -s`\n[\d at \t.]#
Voilà le résultat ( qui n'est pas bon ) :
[manu] /home/manu : 355960 .
[Thu Mar 28 at 12:26:07.]#pwd
/home/manu
[manu]
EPenove a écrit :
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
PS1=[\u] `pwd` : `du -s`\n[\d at \t.]#
LE PWD NE SE REACTUALISE PAS ET LE DU AUSSI
voir la doc: