From 1c5739f4e90455353d99a85ed346024507dc64de Mon Sep 17 00:00:00 2001 From: eshanized Date: Mon, 6 Jan 2025 23:14:41 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf:=20improve=20funcs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/skel/.profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/skel/.profile b/etc/skel/.profile index bda68e7..50a28ae 100644 --- a/etc/skel/.profile +++ b/etc/skel/.profile @@ -1,5 +1,7 @@ # Set terminal type to support 256 colors export TERM="xterm-256color" -# Add custom binaries to the PATH -export PATH="${HOME}/.local/bin/bear:${PATH}" +# Add custom binaries to the PATH if the directory exists +if [ -d "${HOME}/.local/bin/bear" ]; then + export PATH="${HOME}/.local/bin/bear:${PATH}" +fi