2017-04-22 16:53:37 +03:00
|
|
|
# Android
|
2017-10-31 20:42:47 +02:00
|
|
|
export NDK_ROOT=${HOME}/Sovellukset/android/android-ndk-r9d
|
2017-04-22 16:53:37 +03:00
|
|
|
export ANT_ROOT=/usr/bin/
|
2017-10-31 20:42:47 +02:00
|
|
|
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
|
|
|
|
|
2019-09-22 13:52:40 +03:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# Local
|
|
|
|
export PATH=/usr/local/bin:$PATH
|
2017-10-31 20:42:47 +02:00
|
|
|
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
|
2021-04-27 23:25:21 +03:00
|
|
|
#export XDG_CURRENT_DESKTOP=gnome
|
2020-12-06 23:08:50 +02:00
|
|
|
# export QT_STYLE_OVERRIDE='adwaita'
|
|
|
|
# qt5-styleplugins must be installed to set this to gtk2
|
2022-09-10 16:13:56 +03:00
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
2021-04-27 23:25:21 +03:00
|
|
|
#export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
|
|
|
#export QT_SCALE_FACTOR=1
|
|
|
|
|
|
|
|
# Wine
|
2017-04-22 16:53:37 +03:00
|
|
|
export WINEARCH=win64 # Set default winearch to win64
|
2021-08-28 20:15:49 +03:00
|
|
|
#export WINEARCH=win32
|
|
|
|
export WINEDLLOVERRIDES="winemenubuilder.exe=d;winegstreamer=" # 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"
|
2022-09-10 16:13:56 +03:00
|
|
|
# export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" # Do not enable by default
|
|
|
|
export PATH="$PATH:$NPM_PACKAGES/bin"
|
|
|
|
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
|
|
|
|
# dotnet
|
2019-11-09 14:19:23 +02:00
|
|
|
export PATH="${HOME}/.dotnet:$PATH"
|
2017-04-22 16:53:37 +03:00
|
|
|
|
|
|
|
# Emscripten
|
2017-12-15 22:35:17 +02:00
|
|
|
#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"
|
2017-10-06 22:50:36 +03:00
|
|
|
|
|
|
|
# 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"
|
2019-09-22 13:52:40 +03:00
|
|
|
|
2019-09-26 23:23:22 +03:00
|
|
|
# Terminal
|
2019-10-30 20:41:58 +02:00
|
|
|
export TERMINAL=kitty
|
2020-12-06 23:08:50 +02:00
|
|
|
#export TERMINAL=alacritty # Does not support ligatures / Fira Code
|
2019-09-26 23:23:22 +03:00
|
|
|
export TERMCMD=$TERMINAL
|
2019-09-22 13:52:40 +03:00
|
|
|
# Start X on tty1 automatically
|
2021-04-27 23:25:21 +03:00
|
|
|
#if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
|
|
|
# exec startx
|
|
|
|
#fi
|
2020-12-06 23:08:50 +02:00
|
|
|
export WORKON_HOME="${HOME}/Envs"
|
2022-09-10 16:13:56 +03:00
|
|
|
|
|
|
|
# Rootless docker (https://docs.docker.com/engine/security/rootless/)
|
|
|
|
export PATH=/home/lanxu/bin:$PATH
|
|
|
|
export DOCKER_HOST=unix:///run/user/1000/docker.sock
|
|
|
|
|
|
|
|
# nixOS integration
|
|
|
|
#export XDG_DATA_DIRS="$HOME/.nix-profile/share:$XDG_DATA_DIRS"
|