v2.5.0
===================================================================== --- New Scripts -------------------------- zsh ) vundle-vim helpers - vim/vundle/edit-build-actions - vim/vundle/install - vim/vundle/rebuild quick install-from-source scripts - git/package/install - git/package/build (install --only-build) - git/package/download (install --only-pull) - git/package/update (install --update) config sym-linker (for source-controlled .configs) - config/update (symlinks + terminfo) - config/symlinks (set all symlinks from settings) - config/settings (edit settings which aren't scwrypts env variables) - config/terminfo (load all terminfo from settings) --- Changes ------------------------------ - helper comments are now inserted in all env files - removed underscore prefix for standard AWS environment variables - added "opening" and "finished editing" comments to __EDIT util - added __USAGE to format $USAGE variable to std:err - added __ERROR_CHECK to exit if any __ERROR(s) were called
This commit is contained in:
26
zsh/config/terminfo
Executable file
26
zsh/config/terminfo
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/zsh
|
||||
_DEPENDENCIES+=(
|
||||
tic
|
||||
)
|
||||
_REQUIRED_ENV+=()
|
||||
source ${0:a:h}/common.zsh
|
||||
#####################################################################
|
||||
|
||||
SETUP_TERMINFO() {
|
||||
[ ! $TERMINFO_PATH ] && return 0
|
||||
[ ! -d $TERMINFO_PATH ] && __FAIL 1 "TERMINFO_PATH='$TERMINFO_PATH' does not exist"
|
||||
|
||||
local ERRORS=0
|
||||
for TERMINFO in $(find $TERMINFO_PATH -type f)
|
||||
do
|
||||
tic -x $TERMINFO >/dev/null 2>&1 \
|
||||
&& __SUCCESS "added '$(basename $TERMINFO)'" \
|
||||
|| __ERROR "failed to add '$(basename $TERMINFO)'" \
|
||||
;
|
||||
done
|
||||
|
||||
__ERROR_CHECK
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
SETUP_TERMINFO $@
|
Reference in New Issue
Block a user