虽然过去我曾经使用过Oh-My-Zsh,但我这次决定(即设置一台新电脑)我试图避免安装它以使事情变得更加精简。现在,我正试图挑选Oh-My-Zsh的不敏感制表功能。围绕其源代码库挖掘,我找到了以下行:
.zshrc
我非常有信心这就是Oh-My-Zsh执行我想要的行,所以我尝试将它添加到我的cd desk
。重启了我的终端。输入cd Desktop/
,然后点击[标签]。没有骰子 - 我没有得到.zshrc
。
这里有整个# pure shell theme
autoload -U promptinit; promptinit
prompt pure
# completion definitions
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
fpath=(/usr/local/share/zsh-completions $fpath)
# syntax highlighting (must be last line)
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
供参考:
;WITH example AS (
SELECT t1.id, t1.Name, t1.birthday, t2.id AS t2id, t2.Note
, ROW_NUMBER() OVER (PARTITION BY t1.ID ORDER BY t2.id) AS 'ROW NUMBER'
FROM @t1 as t1
left outer join @t2 AS t2 ON t1.ID = t2.ID
)
select ID, name, birthday, [dbo].[GROUP_CONCAT_D]( Note, ' -') AS Notes
from example
group by ID, name, birthday
我做错了什么?
答案 0 :(得分:7)
只需自动加载并运行compinit
。
这是新的.zshrc
:
autoload -U compinit promptinit
promptinit
prompt pure
compinit
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
fpath=(/usr/local/share/zsh-completions $fpath)
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh