diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-03 16:29:56 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-03 16:29:56 +0800 |
commit | 1df2be165dba7e56a2cc14ba7f03a760bac63649 (patch) | |
tree | 2a7e7f8a8f3f6042f761fed8a9e3eaac4d2d608d /_profile | |
parent | e0499fc82abc85afc89399876553f89a9cba3189 (diff) | |
download | dotfiles-1df2be165dba7e56a2cc14ba7f03a760bac63649.tar.bz2 |
profile, xbindkeysrc: cleanup a bit
Diffstat (limited to '_profile')
-rw-r--r-- | _profile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |