On Wed, 13 Nov 2013, Leira Hua wrote: > Mandeep Sandhu <mandeepsandhu.chd@...> writes: > > > > > So this is basically looking for aliases created via git itself ('git config > > alias.gco checkout' etc). > > > > To fix your issue, you either need to define an alias with git, or modify > > the > > __fish_git_using_command function to check if the given command is a shell > > alias and return 0. > > > > HTH, -mandeep > > Mandeep, you were talking about the git alias, they have to be used as "git > gco" rather than "gco". But I was talking about the common issue that the > aliases in fish doesn't share with the same completion as the original > command, > not just for git. > > And in fish, even a simple alias as "alias l=ls", "l" won't have ls's > completion, this is really unintuitive.
Yes - there's been some discussion on this on the issue tracker. See https://github.com/fish-shell/fish-shell/issues/165 and https://github.com/fish-shell/fish-shell/issues/393. David Adam zanc...@ucc.gu.uwa.edu.au ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users