Moved $PATH changes to .bash_profile
This commit is contained in:
parent
77b0588219
commit
2f1f2e7cb9
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
|
# custom scripts and programs
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
PATH="$HOME/.config/scripts/bin:$PATH"
|
||||||
|
|
||||||
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
|
||||||
|
4
.bashrc
4
.bashrc
@ -27,10 +27,6 @@ export _JAVA_AWT_WM_NONREPARENTING=1
|
|||||||
#export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$PATH"
|
#export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$PATH"
|
||||||
#export PATH="$ANDROID_SDK_ROOT/platform-tools:$PATH"
|
#export PATH="$ANDROID_SDK_ROOT/platform-tools:$PATH"
|
||||||
|
|
||||||
# custom scripts and programs
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
export PATH="$HOME/.config/wm_scripts:$PATH"
|
|
||||||
|
|
||||||
if grep "arch-laptop" /etc/hostname &> /dev/null ; then
|
if grep "arch-laptop" /etc/hostname &> /dev/null ; then
|
||||||
export IS_LAPTOP=1
|
export IS_LAPTOP=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user