Use emacsclient instead of emacs as git editor.
[dotfiles] / .bash_export
1 #!/bin/sh
2 # my weird export file
3
4 # time and date inside history list
5 export HISTTIMEFORMAT="%d/%m/%y %T "
6
7 # colors inside less pager
8 export LESS_TERMCAP_mb=$'\E[01;31m'
9 export LESS_TERMCAP_md=$'\E[01;31m'
10 export LESS_TERMCAP_me=$'\E[0m'
11 export LESS_TERMCAP_se=$'\E[0m'
12 export LESS_TERMCAP_so=$'\E[01;44;33m'
13 export LESS_TERMCAP_ue=$'\E[0m'
14 export LESS_TERMCAP_us=$'\E[01;32m'
15
16 #export PAGER='less'
17
18 # colors inside your manpages
19 #export MANPAGER="/usr/bin/most -s"
20
21 # personal bin directory
22 export PATH=$PATH:"$HOME/bin"
23
24 # pip wont download the same file twice
25 export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
26
27 # Use less command as a pager
28 #export PAGER=less
29
30 # history?
31 export HISTSIZE=10000 # history size
32 export HISTFILESIZE=${HISTSIZE}
33 export HISTIGNORE="ls:cd:[bf]g:exit" # ignore lines w/ ls, cd, ...
34 export HISTCONTROL="ignoreboth" # ignore doublons and commands beginning by space
35 # HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
36
37 # for git to show me if modified files and if untracked files
38 export GIT_PS1_SHOWDIRTYSTATE=true
39 export GIT_PS1_SHOWUNTRACKEDFILES=true
40 export GIT_PS1_SHOWSTASHSTATE=true
41 # You can further control behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated
42 export GIT_PS1_SHOWUPSTREAM="auto, verbose, legacy, git" # auto, verbose, legacy, git
43
44 export PATH=$PATH:$HOME/bin