1
0
Fork 0

add support for vscripts in $PATH as well as a hotkey for compton

This commit is contained in:
Von Random 2015-06-22 23:11:09 +03:00
parent ded329bd3d
commit fcd1e75e6d
2 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,7 @@
# common
# {{{ environment
# a bunch of functions to make this whole thing work
# a bunch of functions and vars to make this whole thing work
is_zsh() [[ -n ${ZSH_VERSION} ]]
if is_zsh; then
is_exec() [[ -x $(whence ${1}) ]]
@ -15,9 +15,11 @@ fi
newline="
"
vscripts="${HOME}/vscripts"
local_bin="${HOME}/.local/bin"
[[ -r ${local_bin} && ${PATH} != *${local_bin}* ]] && export PATH=${PATH}:${local_bin}
unset local_bin
[[ -d ${vscripts} && ${PATH} != *${vscripts}* ]] && export PATH=${PATH}:${vscripts}
[[ -d ${local_bin} && ${PATH} != *${local_bin}* ]] && export PATH=${PATH}:${local_bin}
unset local_bin vscripts
dotfiles="${HOME}/vdotfiles"
comp_enabled=true