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 | |
parent | e0499fc82abc85afc89399876553f89a9cba3189 (diff) | |
download | dotfiles-1df2be165dba7e56a2cc14ba7f03a760bac63649.tar.bz2 |
profile, xbindkeysrc: cleanup a bit
-rw-r--r-- | _profile | 9 | ||||
-rw-r--r-- | _xbindkeysrc | 2 |
2 files changed, 6 insertions, 5 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 diff --git a/_xbindkeysrc b/_xbindkeysrc index ef89ab1..758444e 100644 --- a/_xbindkeysrc +++ b/_xbindkeysrc @@ -37,7 +37,7 @@ #keystate_capslock = enable #keystate_scrolllock= enable -#"xbindkeys_show" +#"xbindkeys_show" # control+shift + q ###### music control ###### {{{ |