From adb200c764658d894baae63df13ff9ecc6a66bb4 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 10 Jun 2022 00:33:43 +0800 Subject: [PATCH] Removed obsolete JAVA_HOME export and redirecting errors from grep command. --- .bashrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 63fcda0..dee11ca 100644 --- a/.bashrc +++ b/.bashrc @@ -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