Add feature detection

Checks whether `zpty` gives a file descriptor, which was not the case in
older versions of zsh.

Based on https://github.com/mafredri/zsh-async/blob/a4b2f81c966a00eeb38876d505d97423cc8addfd/async.zsh#L395-L401
This commit is contained in:
Eric Freese
2017-01-26 16:40:34 -07:00
parent 3f57198d07
commit 78ba07179a
4 changed files with 41 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ SRC_FILES := \
$(SRC_DIR)/setup.zsh \
$(SRC_DIR)/config.zsh \
$(SRC_DIR)/util.zsh \
$(SRC_DIR)/features.zsh \
$(SRC_DIR)/deprecated.zsh \
$(SRC_DIR)/bind.zsh \
$(SRC_DIR)/highlight.zsh \