[ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic
This commit is contained in:
parent
fa9bb38462
commit
29904ac3c4
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.zsh diff
|
8
scwrypts
8
scwrypts
@ -1,14 +1,6 @@
|
||||
#!/bin/zsh
|
||||
SCWRYPTS_ROOT="${0:a:h}"
|
||||
|
||||
source "$SCWRYPTS_ROOT/zsh/common.zsh"
|
||||
|
||||
__CHECK_DEPENDENCIES \
|
||||
fzf \
|
||||
;
|
||||
|
||||
__CHECK_IMPORTS
|
||||
|
||||
#####################################################################
|
||||
|
||||
__RUN() {
|
||||
|
@ -1,6 +1,8 @@
|
||||
source ${0:a:h}/zsh/common.zsh
|
||||
#####################################################################
|
||||
[ ! $SCWRYPTS_SHORTCUT ] && return 0
|
||||
[ ! $SCWRYPTS_SHORTCUT ] && {
|
||||
export SCWRYPTS_SHORTCUT=' |