-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.profile
More file actions
67 lines (58 loc) · 2.27 KB
/
.profile
File metadata and controls
67 lines (58 loc) · 2.27 KB
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
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
# Source Aliases
source "$HOME/.aliases"
export PATH="$HOME/tools/nodejs/bin:$PATH"
export PATH="$HOME/.npm-packages/bin:$PATH"
# Java JDTLS
export PATH="$HOME/tools/jdtls/:$PATH"
export JDTLS_HOME="$HOME/tools/jdtls/:$PATH"
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export LIBGL_ALWAYS_SOFTWARE=1
export SPICETIFY_INSTALL="/home/manasmengle/.spicetify"
export PATH="$SPICETIFY_INSTALL:$PATH"
export PATH="$HOME/tools/i3-battery-popup-1.0.0:$PATH"
# export PATH="$HOME/tools/platform-tools/:$PATH"
export PATH="$HOME/tools/:$PATH"
export PATH="$HOME/Android/sdk/emulator:$PATH"
export PATH="$HOME/Android/sdk/platform-tools:$PATH"
export PATH="$HOME/Android/sdk/cmdline-tools/latest/bin:$PATH"
export PATH="$PATH:$HOME/tools/flutter/bin"
export PATH="$PATH:$HOME/go/bin" # go package bin dir
export PATH="$PATH:$HOME/.cargo/bin"
export PATH="$PATH:$HOME/tools/godot"
export PATH="$PATH:$HOME/.local/share/bob/nvim-bin" # bob (nvim version manager)'s nvim bin path
export SPICE_PATH="$HOME/.config/spicetify"
export ANDROID_SDK_ROOT="$HOME/Android/sdk/"
export ANDROID_HOME="$HOME/Android/sdk"
export CHROME_EXECUTABLE="/snap/bin/chromium"
# set DISPLAY to use X terminal in WSL
# in WSL2 the localhost and network interfaces are not the same than windows
if grep -q WSL2 /proc/version; then
# execute route.exe in the windows to determine its IP address
DISPLAY=$(route.exe print | grep 0.0.0.0 | head -1 | awk '{print $4}'):0.0
fi
. "$HOME/.cargo/env"
export NVD_BACKEND=direct
export MOZ_DISABLE_RDD_SANDBOX=1