v1.1.0
===================================================================== Changed environment dependency checker to be more automatic
This commit is contained in:
parent
bffd64051c
commit
2dcf94199b
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
|
#!/bin/zsh
|
||||||
SCWRYPTS_ROOT="${0:a:h}"
|
SCWRYPTS_ROOT="${0:a:h}"
|
||||||
|
|
||||||
source "$SCWRYPTS_ROOT/zsh/common.zsh"
|
source "$SCWRYPTS_ROOT/zsh/common.zsh"
|
||||||
|
|
||||||
__CHECK_DEPENDENCIES \
|
|
||||||
fzf \
|
|
||||||
;
|
|
||||||
|
|
||||||
__CHECK_IMPORTS
|
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
__RUN() {
|
__RUN() {
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
source ${0:a:h}/zsh/common.zsh
|
source ${0:a:h}/zsh/common.zsh
|
||||||
#####################################################################
|
#####################################################################
|
||||||
[ ! $SCWRYPTS_SHORTCUT ] && return 0
|
[ ! $SCWRYPTS_SHORTCUT ] && {
|
||||||
|
export SCWRYPTS_SHORTCUT=' |