View previous topic :: View next topic |
Author |
Message |
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Sun Nov 07, 2004 9:41 pm Post subject: [Env $PATH] Variable $PATH |
|
|
Bonjour,
Après quelques moditications ou mises a jour, je ne sais pas trop, j'ai eu plusieurs modifications importante qui me déroute un peu ma config voici ce que j'ai dans un terminal autre que Eterm (il n'y a que Eterm ou tout va bien)
Voici ce que j'obtiens : http://yanntech.net/pix/grr.jpg
De plus j'aimerais modifié en plus que de corrigé de mon problème, d'avoir ma variable $PATH contenant ce que j'ai dans mon Eterm :
Code: |
yanntech@OsMoSe yanntech $ echo $PATH
/bin:/usr/bin:/usr/game/bin:/opt/bin:/usr/local/bin:/opt/bin:/usr/game/bin::
/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:
/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:
/usr/kde/3.2/bin:/usr/kde/3.1/bin:/usr/games/bin
|
Alors que dans mon Xterm j'ai :
Code: |
bash-2.05b$ echo $PATH
/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/neith/bin
|
Merci d'avance Yann _________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Nov 07, 2004 9:44 pm Post subject: |
|
|
ton bashrc est correct ? le bash_profile aussi ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Sun Nov 07, 2004 9:49 pm Post subject: |
|
|
Qu'appelle tu correct ?
mon .bashrc :
Code: |
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28 15:45:35 azarah Exp $
# This file is sourced by all *interactive* bash shells on startup. This
# file *should generate no output* or it will break the scp and rcp commands.
# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -lh"
alias nano="nano -w"
alias vi="vim"
alias cls="clear"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
##uncomment the following to activate bash-completion:
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
if [ -f /usr/share/mc/mc.gentoo ]; then
. /usr/share/mc/mc.gentoo
fi
|
et mon .bash_profile :
Code: |
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18 19:39:22 azarah Exp $
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc
|
_________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Nov 07, 2004 9:55 pm Post subject: |
|
|
que donne dans tes differents terminaux ?
autrement, moi j'ai pas ca :
Code: | if [ -f /usr/share/mc/mc.gentoo ]; then
. /usr/share/mc/mc.gentoo
fi
|
OFF : Au fait, l'alias pour vi=vim ne sert a rien, un lien vi->vim est cree a l'install de ce dernier ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Thu Nov 11, 2004 11:01 am Post subject: |
|
|
pour l'echo $TERM j'ai mis en export XTERM car quand je fais des ssh avec Eterm, j'ai souvent des problème ... donc echo $TERM >>> xterm
je viens de commenter ce que tu n'as pas, mais rien de plus _________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
|