joel tarlao a écritC'est quoi, pastebin ?
pastebin - collaborative debugging tool
http://pastebin.com/
joel tarlao a écrit[joel@ubuntu ~] $cat .bashrc
Tu as oublié la simple quote a la fin de la ligne de l'alias de path...
joel tarlao a écritTant que tu y es, si tu vois comment modifier mon prompt, où rajouter un espace après $, tu peux me le dire ? Ça m'évitera de tâtonner...
moi j'utilise:
function tranquil_thoughts_prompt
{
local WHITE="[\033[1;37m]"
local BRIGHTGREEN="[\033[1;32m]"
local GREEN="[\033[0;32m]"
local CYAN="[\033[0;36m]"
local GRAY="[\033[0;37m]"
PS1="${BRIGHTGREEN}[${GREEN}\u${BRIGHTGREEN}@${GREEN}\h ${CYAN}\w${WHITE}${BRIGHTGREEN}]${WHITE} "
}
tranquil_thoughts_prompt
Venant de:
http://mboedick.org/code/bash_prompts/