Created
July 11, 2015 16:35
-
-
Save lsauvaget/976b6bbaa4819ba950ae to your computer and use it in GitHub Desktop.
bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$HOME/.node/bin:$PATH" | |
# Setting PATH for Python 2.7 | |
# The orginal version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" | |
export PATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
alias l="ls -alhG" | |
# ne rien faire en mode non interactif | |
[ -z "$PS1" ] && return | |
# ne pas mettre en double dans l'historique les commandes tapées 2x | |
export HISTCONTROL=ignoredups | |
# lignes de l'historique par session bash | |
export HISTSIZE=5000 | |
# lignes de l'historique conservées | |
export HISTFILESIZE=20000 | |
# supporte des terminaux redimensionnables (xterm et screen -r) | |
shopt -s checkwinsize | |
# une commande fréquemment utilisée | |
alias ll='ls -l' | |
# Remonter d'un dossier et ls | |
alias u="cd .. && ls --color" | |
alias tmux="TERM=screen-256color-bce tmux" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment