Browse code

bash_profile (heron) - v1.9 - Update env variable and alias

Fred authored on20/04/2015 23:06:22
Showing1 changed files
... ...
@@ -1,14 +1,15 @@
1 1
 # Title: .bash_profile
2 2
 # Author: Frédéric CHEVALIER <f15.chevalier@gmail.com>
3
-# Version: 1.8
3
+# Version: 1.9
4 4
 # Created in: 2012-05-25
5
-# Modified in: 2014-12-02
5
+# Modified in: 2015-04-20
6 6
 
7 7
 
8 8
 #==========#
9 9
 # Versions #
10 10
 #==========#
11 11
 
12
+# v1.9 - 2015-04-20: Python env variable added / alias updated
12 13
 # v1.8 - 2014-12-02: proxy-display added (resolve $DISPLAY problem with screen)
13 14
 # v1.7 - 2014-10-22: alias added / conditional modification of PATH and Ld_LIBRARY_PATH to be able to use eog and evince on other server (crow, ...)
14 15
 # v1.6 - 2014-10-15: alias added / LC* added / LS_COLORS removed / PATH updated / LD_LIBRARY_PATH updated
... ...
@@ -39,8 +40,8 @@ fi
39 40
 
40 41
 alias pqsub='qsub -V -cwd -o $HOME/status -j y -r y -S /bin/bash'
41 42
 alias pqsubR='qsub -V -cwd -o $HOME/status -j y -r y -S $(which Rscript)'
42
-alias qrsh='qrsh -V -cwd -pty y bash -li'
43
-alias locate='locate -d "$HOME/.mlocate.db"'
43
+alias pqrsh='qrsh -V -cwd -pty y bash -li'
44
+alias plocate='locate -d "$HOME/.mlocate.db"'
44 45
 alias xterm='xterm -bg black -fg white -rightbar -geometry 200x35'
45 46
 
46 47
 alias medusa='ssh -Y medusa'
... ...
@@ -48,8 +49,6 @@ alias medusa2='ssh -Y medusa2'
48 49
 alias mendel='ssh -Y mendel'
49 50
 alias crow='ssh -Y crow'
50 51
 alias bulmer='ssh -Y bulmer'
51
-alias bauhaus='ssh -Y bauhaus'
52
-alias u2='ssh -Y u2'
53 52
 
54 53
 alias model_script_sh='cp $HOME/Templates/script.sh $1'
55 54
 
... ...
@@ -84,6 +83,7 @@ export PERL5LIB=~/local/lib/perl5/site_perl/5.18.2/x86_64-linux/auto:~/local/lib
84 83
 
85 84
 # Python
86 85
 export PYTHONPATH=$HOME/local/lib/python2.6/site-packages
86
+export PYTHONIOENCODING=utf-8
87 87
 
88 88
 # Special paths for medusa and nodes
89 89
 if [[ $HOSTNAME =~ medusa* || $HOSTNAME =~ compute.* ]]