From 1df2be165dba7e56a2cc14ba7f03a760bac63649 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 3 Feb 2018 16:29:56 +0800 Subject: profile, xbindkeysrc: cleanup a bit --- _profile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '_profile') diff --git a/_profile b/_profile index f759298..a01ef7a 100644 --- a/_profile +++ b/_profile @@ -2,14 +2,13 @@ # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=sh: # # ~/.profile -# Source by the login shell, or source by the Xsession(5) through the -# `~/.xsessionrc`. +# Source by login shells, or by Xsession(5) through `~/.xsessionrc`. # # Aaron LI # # Avoid this file being sourced again -[ -n "${PROFILE_SOURCED}" ] && return +[ -n "${_PROFILE_SOURCED}" ] && return # Set file creation mask: be more private! @@ -86,6 +85,8 @@ export VISUAL="${EDITOR}" export PAGER="less" export LESS="--ignore-case --raw-control-chars" -PROFILE_SOURCED=yes + +# Set flag to avoid being sourced again +_PROFILE_SOURCED=yes # EOF -- cgit v1.2.2