cleanup commonshrc
This commit is contained in:
parent
5573b0e965
commit
94db0d5a8a
27
commonshrc
27
commonshrc
@ -20,28 +20,15 @@ add_myprefix_to() {
|
|||||||
|
|
||||||
export MYPREFIX=$HOME/.local
|
export MYPREFIX=$HOME/.local
|
||||||
|
|
||||||
add_to PATH /sbin
|
|
||||||
add_to PATH /usr/sbin
|
|
||||||
add_to PATH /usr/local/sbin
|
|
||||||
|
|
||||||
add_to PATH ~/.cabal/bin
|
add_to PATH ~/.cabal/bin
|
||||||
|
|
||||||
add_myprefix_to LD_LIBRARY_PATH lib
|
add_myprefix_to LD_LIBRARY_PATH lib
|
||||||
add_myprefix_to LD_LIBRARY_PATH lib64
|
|
||||||
|
|
||||||
add_to MANPATH :
|
add_to MANPATH :
|
||||||
add_myprefix_to MANPATH share/man
|
add_myprefix_to MANPATH share/man
|
||||||
|
|
||||||
add_myprefix_to PKG_CONFIG_PATH lib/pkgconfig
|
add_myprefix_to PKG_CONFIG_PATH lib/pkgconfig
|
||||||
|
|
||||||
#add_myprefix_to PYTHONPATH lib/python2.7/site-packages
|
|
||||||
#add_myprefix_to PYTHONPATH lib/python/site-packages
|
|
||||||
#add_myprefix_to PYTHONPATH lib/python
|
|
||||||
|
|
||||||
for ruby_gem_path in ~/.gem/ruby/*/bin; do
|
|
||||||
add_to PATH $ruby_gem_path
|
|
||||||
done
|
|
||||||
|
|
||||||
add_myprefix_to PATH bin
|
add_myprefix_to PATH bin
|
||||||
add_myprefix_to PATH sbin
|
add_myprefix_to PATH sbin
|
||||||
|
|
||||||
@ -53,13 +40,16 @@ fi
|
|||||||
|
|
||||||
add_myprefix_to R_LIBS lib/R:/usr/lib/R/site-library
|
add_myprefix_to R_LIBS lib/R:/usr/lib/R/site-library
|
||||||
|
|
||||||
export ANDROID_HOME=$HOME/build/android-sdk-linux
|
if [ -d ~/build/android-sdk-linux ]; then
|
||||||
add_to PATH $ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
|
export ANDROID_HOME=$HOME/build/android-sdk-linux
|
||||||
export ANDROID_SDK=$ANDROID_HOME ANDROID_NDK=$HOME/build/android-ndk-r9c
|
add_to PATH $ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
|
||||||
|
export ANDROID_SDK=$ANDROID_HOME ANDROID_NDK=$HOME/build/android-ndk-r9c
|
||||||
|
fi
|
||||||
|
|
||||||
add_to PATH ~/.babel/bin # nimrod package manager
|
add_to PATH ~/.babel/bin # nimrod package manager
|
||||||
|
|
||||||
add_to PATH /opt/ghc/7.8.2/bin
|
add_to PATH /opt/ghc/7.8.3/bin
|
||||||
|
add_to PATH ~/.gem/ruby/2.1.0/bin
|
||||||
|
|
||||||
# Customisation of Programs {{{1
|
# Customisation of Programs {{{1
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
@ -75,6 +65,3 @@ test -x /usr/bin/vim && alias vi=vim
|
|||||||
passc() {
|
passc() {
|
||||||
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
|
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
add_to PATH /opt/ghc/7.8.3/bin
|
|
||||||
|
Loading…
Reference in New Issue
Block a user