Re: .bashrc dans konsole ?
Troumad <troumad@libertysurf.fr> wrote:
| mess-mate a écrit :
|
| >Essay un bash -i en konsole pour voir.
| Ça marche ! Je le mets où ? Dans le ~/.bahrc ?
|
Non,
ici ===> vérifier /etc/profile comme ceci :
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "id -u" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
bash -i
# PS1='\u@\h:\w\$ '
else
if [ "id -u" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export PATH
Fin de /etc/profile
mess-mate
--
You'll feel devilish tonight. Toss dynamite caps under a flamenco dancer's
heel.
Reply to: