Update fzf location
[dotfiles] / .bash_export
1 #!/bin/sh
2 # my weird export file
3
4 export TERM="xterm-256color"
5
6 # default shell used by emacs
7 export SHELL="/bin/bash"
8 export ESHELL="/bin/bash"
9
10 export PROMPT_DIRTRIM=2
11 # export PROMPT_COMMAND="history -a; history -n" # not totally sure
12
13 export LANG=fr_FR.utf-8
14 export LC_ALL="$LANG"
15
16 # time and date inside history list
17 export HISTTIMEFORMAT="%d/%m/%y %T "
18
19 # colors inside less pager
20 export LESS_TERMCAP_mb=$'\E[01;31m'
21 export LESS_TERMCAP_md=$'\E[01;31m'
22 export LESS_TERMCAP_me=$'\E[0m'
23 export LESS_TERMCAP_se=$'\E[0m'
24 export LESS_TERMCAP_so=$'\E[01;44;33m'
25 export LESS_TERMCAP_ue=$'\E[0m'
26 export LESS_TERMCAP_us=$'\E[01;32m'
27
28 #export PAGER='less'
29
30 # colors inside your manpages
31 #export MANPAGER="/usr/bin/most -s"
32
33 # personal bin directory
34 export PATH=$PATH:"$HOME/bin":"$HOME/.cargo/bin":"$HOME/racket/bin"
35
36 # nim lang
37 export PATH=$PATH:$HOME/bin/nim-0.10.2/bin
38
39 # pip wont download the same file twice
40 # no more useful
41 #export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
42
43 # Use less command as a pager
44 #export PAGER=less
45
46 # history?
47 export HISTSIZE=10000 # history size
48 export HISTFILESIZE=${HISTSIZE}
49 export HISTIGNORE="ls:cd:[bf]g:exit" # ignore lines w/ ls, cd, ...
50 export HISTCONTROL="ignoreboth" # ignore doublons and commands beginning by space
51 # HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
52
53 # for git to show me if modified files and if untracked files
54 export GIT_PS1_SHOWCOLORHINTS=true
55 export GIT_PS1_SHOWDIRTYSTATE=true
56 export GIT_PS1_SHOWUNTRACKEDFILES=true
57 export GIT_PS1_SHOWSTASHSTATE=true
58 # You can further control behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated
59 export GIT_PS1_SHOWUPSTREAM="auto, verbose, legacy, git" # auto, verbose, legacy, git
60
61 export PATH=$PATH:$HOME/bin
62
63 # parent dirs of paths i use the most
64 #export CDPATH=".:~:~/envs/"
65
66 export MAIL="ndkpatt@gmail.com"
67 export PGPPATH="/home/nsukami/.gnupg/"
68
69 export PATH=$PATH:/usr/local/go/bin
70 export PATH=$PATH:$(go env GOPATH)/bin
71
72 # what should be done when launching a python console
73 export PYTHONSTARTUP=$HOME/repl.py
74
75 # alternative to virtualenv, install everything to ./.pip folder
76 export PYTHONPATH=.:./.pip:$PYTHONPATH
77
78 # pelican
79 export BASEDIR=$HOME"/GITHUB/pelican"
80 alias prld="pelican -t $BASEDIR/pelican-themes-master/aboutwilson"
81 alias pfrld="pelican-themes -r $BASEDIR/pelican-themes-master/aboutwilson && pelican-themes -i $BASEDIR/pelican-themes-master/aboutwilson && pelican -t $BASEDIR/pelican-themes-master/aboutwilson"
82
83
84 # drone
85 export DRONE_SERVER=https://drone.xcg.io
86 export DRONE_TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoibGVtZXRlb3JlIiwidHlwZSI6InVzZXIifQ.a_STXMKl7wXk1aJ6tqLi9RyplFbp_JIEScmHwOjrrZ0"
87
88 GPG_TTY=$(tty)
89 export GPG_TTY
90 GNUPGHOME=$HOME/.gnupg
91 export GNUPGHOME