blob: 71077d7faa6d61e9e183556b70c2c5a5de75afe5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export HISTSIZE=2000
export HISTFILESIZE=2000
complete -cf sudo
complete -cf man
shopt -s autocd
alias ls='ls -F'
PS1='[\u@\h \W]\$ '
export EDITOR='vim'
alias azer='setxkbmap fr bepo'
alias bépo='setxkbmap fr'
alias qdsf='setxkbmap dvorak'
alias aoeu='setxkbmap fr'
export GOPATH=$HOME/go
export PATH=$HOME/usr/bin:$HOME/go/bin:$HOME/.local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/usr/lib:$HOME/usr/lib64
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/usr/lib/pkgconfig"
export WINEARCH=win32
export WINEPREFIX=/home/lx.nobackup/wine
# -- GIT prompt
# GIT_PROMPT_FETCH_REMOTE_STATUS=0
# GIT_PROMPT_START="\n\[\033[0m\][\$(if [[ \$? == 0 ]]; then echo \"\[\033[0;32m\]\$?\"; else echo \"\[\033[0;31m\]\$?\"; fi)\[\033[00m\]] \[\033[0;36m\]\u@\h \[\033[0;33m\]\w\[\033[0m\]"
# GIT_PROMPT_END="\[\033[0m\]\n \$ "
# source ~/usr/src/bash-git-prompt/gitprompt.sh
alias clipper='ssh auvolat@sas.eleves.ens.fr'
alias cargo='ssh auvolat@cargo.ens.fr'
alias tremble='ssh auvolat@tremble.ens.fr'
alias tulipier='ssh auvolat@tulipier.ens.fr'
# conseil : utiliser tulipier pour bosser, sas.eleves pour IRC
alias dgsas='ssh dg@sas.eleves.ens.fr'
alias dgwww='ssh -t dg@sas.eleves.ens.fr ssh www2.eleves.ens.fr'
alias irc='ssh -t katchup@adnab.me /usr/local/bin/irc'
alias drsync='rsync -arzv --delete --progress'
# expand -t 4 $HOME/Core/TODO
keychain ~/.ssh/id_rsa --quiet
#export LUA_PATH='/home/lx/.luarocks/share/lua/5.3/?.lua;/home/lx/.luarocks/share/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/lib/lua/5.3/?.lua;/usr/lib/lua/5.3/?/init.lua;./?.lua;./?/init.lua'
#export LUA_CPATH='/home/lx/.luarocks/lib/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so;./?.so'
export PYTHONPATH=.
alias anac='source /home/lx.nobackup/anaconda2/bin/activate'
## NODE
NPM_PACKAGES="${HOME}/.npm-packages"
PATH="$NPM_PACKAGES/bin:$PATH"
# Unset manpath so we can inherit from /etc/manpath via the `manpath` command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
khal
echo
todo
echo
|