如何移動 ntuser 檔案的位置

如何移動 ntuser 檔案的位置


我正在嘗試使用 cygwin 作為 Windows 7 上的預設終端。
每當我使用 ntuser 檔案“ls”時,ntuser 檔案就會填入提示。
是否可以移動他們的位置?我嘗試用​​谷歌搜尋。

答案1

我最終通過在 .bashrc 中添加以下內容來忽略這些文件:

alias ls='ls -hF --color=tty --ignore=ntuser*'

這做得很好。我還在 .vimrc 中添加了以下內容以在 NERDTree 中忽略它們:

let NERDTreeIgnore = ['^ntuser\.'] 

相關內容