خرید بک لینک

In zsh, I can expand a filename by just typing the first letter of each directory in its path and hitting <TAB>:

% ls /e/z/zshe<TAB>
% ls /etc/zsh/zshenv

This works as long as the shorthand refers to a unique path. (What is this feature called, by the way?)

With git, this doesn't work:

% git add c/b/r/foo<TAB>
Completing `modified file' or `untracked file':`

How can I make zsh do normal path expansion for git parameters, so the below would work?

% git add c/b/r/foo<TAB>
% git add chrome/browser/resources/foo

- - , .

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 11 اسفند 1394 ساعت: 17:31

صفحه بندی