Remove bat completion for zsh until a fix is found

main
Buddy Sandidge 4 years ago
parent 69ed14dffe
commit 1385c9ce48

@ -59,12 +59,13 @@ cd "${DATA_DIR}/${APP}" || bail "directory change failed: ${DATA_DIR}/${APP}"
[[ -s current ]] && unlink current
ln -s "${VERSION}" current
ZSH_CONFIG_D="${XDG_CONFIG_HOME}/zsh/zshrc.d"
FISH_CONFIG_D="${XDG_CONFIG_HOME}/fish/functions"
# TODO: get the completion working
#ZSH_CONFIG_D="${XDG_CONFIG_HOME}/zsh/zshrc.d"
#FISH_CONFIG_D="${XDG_CONFIG_HOME}/fish/functions"
MAN_DIR="${XDG_DATA_HOME}/man/man1"
[[ -d ${MAN_DIR} ]] || mkdir -p "${MAN_DIR}"
do_link "${XDG_BIN_HOME}" "${DATA_DIR}/${APP}/current/bat"
do_link "${ZSH_CONFIG_D}" "${DATA_DIR}/${APP}/current/autocomplete/bat.zsh"
do_link "${FISH_CONFIG_D}" "${DATA_DIR}/${APP}/current/autocomplete/bat.fish"
#do_link "${ZSH_CONFIG_D}" "${DATA_DIR}/${APP}/current/autocomplete/bat.zsh"
#do_link "${FISH_CONFIG_D}" "${DATA_DIR}/${APP}/current/autocomplete/bat.fish"
do_link "${MAN_DIR}" "${DATA_DIR}/${APP}/current/bat.1"

Loading…
Cancel
Save