-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell_env
47 lines (36 loc) · 1.39 KB
/
shell_env
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
# vim: set filetype=sh:
export GEM_HOME=$HOME/.gem
PATH="$HOME/.cabal/bin:$HOME/.local/bin:$HOME/bin:/usr/local/sbin:/usr/local/bin:$HOME/.composer/vendor/bin:$PATH"
if [ "$ALIX_PLATFORM" = "Darwin" ]; then
PATH="$HOME/.gem/bin:$PATH"
fi
# We looove Debian
# http://qa.debian.org/[email protected]
export DEBFULLNAME="Antoine Musso"
export DEBEMAIL="[email protected]"
#################### COLORED MAN ######################################
# less env variables to make less a bit nicer to read
# https://wiki.archlinux.org/index.php/Man_Page#Colored_man_pages
# TODO: grab colors from Debian
export LESS_TERMCAP_mb=$(printf "\e[1;31m")
export LESS_TERMCAP_md=$(printf "\e[1;31m")
export LESS_TERMCAP_me=$(printf "\e[0m")
export LESS_TERMCAP_se=$(printf "\e[0m")
export LESS_TERMCAP_so=$(printf "\e[1;44;33m")
export LESS_TERMCAP_ue=$(printf "\e[0m")
export LESS_TERMCAP_us=$(printf "\e[1;32m")
#################### Personal preferences #############################
export PAGER="less"
export EDITOR="vim"
export VISUAL="vim"
# Override messages to use the "C" language
# Ever tried googling an error message in French? :-D
export LC_MESSAGES="C"
if [ "$ALIX_PLATFORM" = "Darwin" ]; then
# Lighter directory in Mac OS X ls output
#export LSCOLORS="gx"
export LSCOLORS="eh"
fi
# fancy MySQL prompt
export MYSQL_PS1="(\u@\h) [\d]> "
export MW_INSTALL_PATH=/home/hashar/projects/mediawiki/core