Moved some things to .bash_profile.
This commit is contained in:
parent
d9405c5166
commit
2f64f56cac
@ -8,6 +8,13 @@
|
|||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
PATH="$HOME/.config/scripts/bin:$PATH"
|
PATH="$HOME/.config/scripts/bin:$PATH"
|
||||||
|
|
||||||
|
if grep "arch-laptop" /etc/hostname &> /dev/null ; then
|
||||||
|
export IS_LAPTOP=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# for java applicatons
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
if [[ ! -z "$IS_LAPTOP" ]]; then
|
if [[ ! -z "$IS_LAPTOP" ]]; then
|
||||||
exec startx
|
exec startx
|
||||||
|
12
.bashrc
12
.bashrc
@ -19,18 +19,6 @@ export EDITOR=nvim
|
|||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export TERMINAL=alacritty
|
export TERMINAL=alacritty
|
||||||
|
|
||||||
# for java applicatons
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
|
|
||||||
# android SDK
|
|
||||||
#export ANDROID_SDK_ROOT=/home/sheldonmlee/Library/Android
|
|
||||||
#export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$PATH"
|
|
||||||
#export PATH="$ANDROID_SDK_ROOT/platform-tools:$PATH"
|
|
||||||
|
|
||||||
if grep "arch-laptop" /etc/hostname &> /dev/null ; then
|
|
||||||
export IS_LAPTOP=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Path to store working directory
|
# Path to store working directory
|
||||||
export WDIR_PATH="/tmp/$(id -u).wdir"
|
export WDIR_PATH="/tmp/$(id -u).wdir"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user