dotfiles/.zprofile

69 lines
2.7 KiB
Plaintext
Raw Normal View History

2017-04-22 16:53:37 +03:00
# Android
export NDK_ROOT=${HOME}/Sovellukset/android/android-ndk-r9d
2017-04-22 16:53:37 +03:00
export ANT_ROOT=/usr/bin/
export ANDROID_SDK_ROOT=${HOME}/Sovellukset/android/sdk
export ANDROID_HOME=${HOME}/Sovellukset/android/sdk
2017-04-22 16:53:37 +03:00
export PATH=$NDK_ROOT:$PATH
export PATH=$ANDROID_SDK_ROOT:$PATH
export PATH=$ANDROID_SDK_ROOT/tools:$PATH
export PATH=$ANDROID_SDK_ROOT/platform-tools:$PATH
# Cocos and Ionic
2017-04-22 16:53:37 +03:00
export COCOS_CONSOLE_ROOT=${HOME}/Sovellukset/cocos2d-js-v3.6.1/tools/cocos2d-console/bin
export IONIC_INSTALL=${HOME}/Asiakirjat/Work/Android/ionic/node_modules/.bin
export PATH=$IONIC_INSTALL:$COCOS_CONSOLE_ROOT:$PATH
# npm without sudo
# https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
export NPM_PACKAGES=${HOME}/.npm-packages
export NODE_PATH=$NPM_PACKAGES/lib/node_modules:$NODE_PATH
export PATH=$NPM_PACKAGES/bin:$PATH
# Local
export PATH=/usr/local/bin:$PATH
export PATH=${HOME}/.local/bin:$PATH
2017-04-22 16:53:37 +03:00
# Own scripts
export LANXU_SCRIPTS_ROOT=${HOME}/Scripts
export PATH=$LANXU_SCRIPTS_ROOT:$PATH
# Other
export XDG_CURRENT_DESKTOP=gnome
#export QT_STYLE_OVERRIDE='gtk2'
export QT_QPA_PLATFORMTHEME=gtk2
export WINEARCH=win64 # Set default winearch to win64
export WINEDLLOVERRIDES=winemenubuilder.exe=d # No more desktop files!
2017-04-22 16:53:37 +03:00
# Npm with no sudo
# https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
export NPM_PACKAGES="${HOME}/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
export PATH="$NPM_PACKAGES/bin:$PATH"
2019-11-09 14:19:23 +02:00
export PATH="${HOME}/.dotnet:$PATH"
2017-04-22 16:53:37 +03:00
# Emscripten
#export EMSDK="${HOME}/Koodit/github/emsdk"
#export EM_CONFIG="${HOME}/.emscripten"
#export EMSCRIPTEN="${HOME}/Koodit/github/emsdk/emscripten/incoming"
#export BINARYEN_ROOT="${HOME}/Koodit/github/emsdk/binaryen/master_64bit_binaryen"
#export PATH="${HOME}/Koodit/github/emsdk:${HOME}/Koodit/github/emsdk/clang/e1.37.16_64bit:${HOME}/Koodit/github/emsdk/node/4.1.1_64bit/bin:${HOME}/Koodit/github/emsdk/emscripten/incoming:${HOME}/Koodit/github/emsdk/binaryen/master_64bit_binaryen/bin:$PATH"
# LUA
#export LUA_PATH='/home/lanxu/.luarocks/share/lua/5.3/?.lua;/home/lanxu/.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/lanxu/.luarocks/lib/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so;./?.so'
2018-12-22 11:28:01 +02:00
# Rust
export PATH="${HOME}/.cargo/bin:$PATH"
2019-03-23 17:28:58 +02:00
# Caffe
export CAFFE_DIR="${HOME}/Koodit/github/caffe/build/install"
# Terminal
2019-10-30 20:41:58 +02:00
export TERMINAL=kitty
#export TERMINAL=alacritty
export TERMCMD=$TERMINAL
# Start X on tty1 automatically
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi