本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
zsh-syntax-highlighting
镜像来自
https://github.com/zsh-users/zsh-syntax-highlighting.git
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
0
版本發佈
17
Wiki
活動
瀏覽代碼
tests: Run tests with NOUNSET
pull/451/head
Matthew Martin
6 年之前
父節點
459c128f43
當前提交
18517cc98e
共有
1 個檔案被更改
,包括
2 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
tests/test-highlighting.zsh
+ 2
- 0
tests/test-highlighting.zsh
查看文件
@ -29,6 +29,8 @@
# -------------------------------------------------------------------------------------------------
setopt NOUNSET
# Check an highlighter was given as argument.
[
[
-n
"
$1
"
]
]
||
{
echo
>
&
2
"Bail out! You must provide the name of a valid highlighter as argument."
Write
Preview
Loading…
取消
儲存