-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.environment_variables
executable file
·88 lines (68 loc) · 3.44 KB
/
.environment_variables
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Shahzad's Environment Variables, this file may be sourced by .profile if we want
# to include these environment variables no matter what shell we are using or by
# .bash_profile, if we are specifically using bash's profile while using the bash shell,
# mostly put my paths in here.
# Make local path ~/.local, whose `bin` folder will be added to PATH.
LOCAL_PATH="${HOME}/.local";
LOCAL_BIN="${LOCAL_PATH}/bin";
# Add to the local path to the front of the PATH variable (contents here are given priority).
# NOTE: `~/.local/bin` is given higher precedence than `~/bin`
PATH="${HOME}/bin:${LOCAL_BIN}:${PATH}";
# ------------[ Set QT environment variable manually, needed for Dolphin ]------------ {{{
export QT_QPA_PLATFORMTHEME="qt5ct"
#------------------------------------------------------------------------------------- }}}
# ------------[ Set Locale Maually ]------------ {{{
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_TYPE=en_US.UTF-8
#----------------------------------------------- }}}
# ------------[ Go ]------------ {{{
# Steps I do to install go locally:
# - sudo tar -C ~/.local/bin/ -xvzf go1.18.5.linux-amd64.tar.gz
# - then if is a `go` folder then: `mv go go1.18.5` and set the following.
# Set the path to the go folder which has the binary we want to run when we
# call the `go` program.
# export GOROOT="${LOCAL_BIN}/go1.20.6"
# export GOROOT="${LOCAL_BIN}/go1.21.6"
export GOROOT="${LOCAL_BIN}/go1.22.6"
# Set GOPATH to the "~/go"
export GOPATH="${HOME}/go"
# Set GOBIN to "~/go/bin"
export GOBIN="${GOPATH}/bin"
# Add the go's bin and the custom GOROOT's bin directories to PATH .
export PATH="${GOBIN}:${GOROOT}/bin:${PATH}";
# ------------------------------ }}}
# ------------[ Set RipGrep config file path ]------------ {{{
export RIPGREP_CONFIG_PATH="${HOME}/.ripgreprc"
#--------------------------------------------------------- }}}
# ------------[ Android Studio SDK ]------------ {{{
export ANDROID_SDK=${HOME}/Android/Sdk/
# ---------------------------------------------- }}}
# -----------[ Cosa ]----------- {{{
# Set the cosa path to where it is installed for wio.
export COSA_PATH='/usr/local/lib/node_modules/wio/bin/toolchain/cosa';
# Set the cosa include path to where the source is located at.
export COSA_INCLUDE="${COSA_PATH}/cores/cosa";
# Add the cosa include path to PATH.
export PATH="${PATH}:${COSA_INCLUDE}";
# ------------------------------ }}}
# -----------------[ Waterloop / Wio ]----------------- {{{
# Set WLOOP to where my waterloop git directory is located at.
export WLOOP="${HOME}/Desktop/projects/Waterloop/git";
# Set WIO to where my wio git directory is located at.
export WIO="${HOME}/Desktop/projects/Waterloop/wio/git";
# ----------------------------------------------------- }}}
# -----------------[ ShipAtoB ]----------------- {{{
# Set ATOB to where my ShipAtoB git directory is located at.
export ATOB="${HOME}/Desktop/projects/shipatob/git";
# ----------------------------------------------------- }}}
# -----------------[ Planty ]----------------- {{{
# Set PLANT to where my Planty git directory is located at.
export TRUM="${HOME}/Desktop/projects/Tantrum/";
# ----------------------------------------------------- }}}
# -----[ Extras ]----- {{{
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/home/shahzad/.sdkman"
[[ -s "/home/shahzad/.sdkman/bin/sdkman-init.sh" ]] && source "/home/shahzad/.sdkman/bin/sdkman-init.sh"
# -------------------- }}}