add custom tail for 500 exceptions
[dotfiles] / .bash_export
1 #!/bin/sh
2 # my weird export file
3
4 # default shell used by emacs
5 export SHELL="/bin/bash"
6 export ESHELL="/bin/bash"
7
8 export PROMPT_DIRTRIM=2
9
10 export LANG=fr_FR.utf-8
11 export LC_ALL="$LANG"
12
13 # time and date inside history list
14 export HISTTIMEFORMAT="%d/%m/%y %T "
15
16 # colors inside less pager
17 export LESS_TERMCAP_mb=$'\E[01;31m'
18 export LESS_TERMCAP_md=$'\E[01;31m'
19 export LESS_TERMCAP_me=$'\E[0m'
20 export LESS_TERMCAP_se=$'\E[0m'
21 export LESS_TERMCAP_so=$'\E[01;44;33m'
22 export LESS_TERMCAP_ue=$'\E[0m'
23 export LESS_TERMCAP_us=$'\E[01;32m'
24
25 #export PAGER='less'
26
27 # colors inside your manpages
28 #export MANPAGER="/usr/bin/most -s"
29
30 # personal bin directory
31 export PATH=$PATH:"$HOME/bin"
32
33 # pip wont download the same file twice
34 export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
35
36 # Use less command as a pager
37 #export PAGER=less
38
39 # history?
40 export HISTSIZE=10000 # history size
41 export HISTFILESIZE=${HISTSIZE}
42 export HISTIGNORE="ls:cd:[bf]g:exit" # ignore lines w/ ls, cd, ...
43 export HISTCONTROL="ignoreboth" # ignore doublons and commands beginning by space
44 # HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
45
46 # for git to show me if modified files and if untracked files
47 export GIT_PS1_SHOWDIRTYSTATE=true
48 export GIT_PS1_SHOWUNTRACKEDFILES=true
49 export GIT_PS1_SHOWSTASHSTATE=true
50 # You can further control behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated
51 export GIT_PS1_SHOWUPSTREAM="auto, verbose, legacy, git" # auto, verbose, legacy, git
52
53 export PATH=$PATH:$HOME/bin
54
55 # parent dirs of paths i use the most
56 #export CDPATH=".:~:~/envs/"
57
58 export MAIL="ndkpatt@gmail.com"
59 export PGPPATH="/home/nsukami/.gnupg/"
60
61 export GOROOT=$HOME/Téléchargements/go
62 export PATH=$PATH:$GOROOT/bin
63
64 # what should be done when launching a python console
65 export PYTHONSTARTUP=$HOME/repl.py
66
67 # alternative to virtualenv, install everything to ./.pip folder
68 export PYTHONPATH=./.pip:$PYTHONPATH