alias ..="cd .."
alias which="type -path"
alias where="type -all"
alias ll="ls -l --color=auto"
alias l="ls -a --color=auto"
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"
alias la="ls -la --color=auto"
alias ls="ls --color=auto"
alias trouve="find ./ -type f | xargs grep -l "
attention, cela contient également des raccourcis pour d'autres shell je crois (mais je ne les utilise pas)
Only wimps use tape backup: real men just upload their important stuff on megaupload, and let the rest of the world ~~mirror~~ link to it
# .profile
Posté par B16F4RV4RD1N . En réponse au message bash_profile et autres.... Évalué à 2.
dans .bashrc
copie quelque chose de ce genre :
[ -f /etc/profile ] && . /etc/profile && . ~/.profile
(sous debian il propose egalement la ligne :
# /etc/bash.bashrc
et met ce que tu as besoin dans ton .profile :
(voici le mien, il y a des essais dedans... mais adapte le)
export PATH="$HOME/.dist/bin:/usr/include/SDL/:/usr/local/bin:/usr/include:/usr/sbin:/sbin:/usr/share/jre1.5.0_01/lib/:/usr/share/jre1.5.0_01/bin/:$PATH:"
export LANG=fr_FR@euro
#PS1='\[033円[0;33m\][\t]\[033円[0;32m\]\[033円[0;36m\]\w\$\[033円[0m\] \a'
#PROMPT=$'%{\e[0;36m%}[%t] %{\e[0;31m%}%n %{\e[0;32m%}%~$%{\e[0m%} '
#PROMPT=$'%{\e[0;36m%}[%t] %{\e[0;32m%}%~$%{\e[0m%} '
alias ..="cd .."
alias which="type -path"
alias where="type -all"
alias ll="ls -l --color=auto"
alias l="ls -a --color=auto"
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"
alias la="ls -la --color=auto"
alias ls="ls --color=auto"
alias trouve="find ./ -type f | xargs grep -l "
attention, cela contient également des raccourcis pour d'autres shell je crois (mais je ne les utilise pas)
Only wimps use tape backup: real men just upload their important stuff on megaupload, and let the rest of the world ~~mirror~~ link to it