add support for vscripts in $PATH as well as a hotkey for compton
This commit is contained in:
parent
ded329bd3d
commit
fcd1e75e6d
2 changed files with 6 additions and 3 deletions
8
shellrc
8
shellrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue