2016年5月10日 星期二

升級oh-my-zsh後,執行sudo su - 會出現compdef: unknown....

compdef: unknown command or service: git 
compdef: unknown command or service: grep 
compdef: unknown command or service: git
 
原因:權限問題
解法:
#This will perform chmod g-w for each file returned by compaudit to remove write access for group compaudit | xargs -I % chmod g-w "%" #This will perform chown to current user (Windows and Linux) for each file returned by compaudit compaudit | xargs -I % chown $USER "%" #Remove all dump files (which normally speed up initialization) rm ~/.zcompdump* #Regenerate completions file compinit

沒有留言:

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...