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 +++++---- _xbindkeysrc | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) 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 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 ###### {{{ -- cgit v1.2.2