Removed obsolete JAVA_HOME export and redirecting errors from grep

command.
This commit is contained in:
Sheldon Lee 2022-06-10 00:33:43 +08:00
parent 30bcf55790
commit adb200c764

View File

@ -31,9 +31,7 @@ export _JAVA_AWT_WM_NONREPARENTING=1
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.config/wm_scripts:$PATH"
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
if grep "arch-laptop" /etc/hostname > /dev/null ; then
if grep "arch-laptop" /etc/hostname &> /dev/null ; then
export IS_LAPTOP=1
fi