On 7/12/07, Giorgio Lando <[EMAIL PROTECTED]> wrote:
>
> The following are the fish completion specifications for prt-get, pkgutils 
> and ports, that is the package
> management utilities of my linux distribution (CRUX). Comments and 
> emendations more than welcome
> welcome:
 have >
> http://www.patroclo7.org/crux/config/prt-get.fish
> http://www.patroclo7.org/crux/config/pkgmk.fish
> http://www.patroclo7.org/crux/config/pkgadd.fish
> http://www.patroclo7.org/crux/config/pkgrm.fish
> http://www.patroclo7.org/crux/config/pkginfo.fish
> http://www.patroclo7.org/crux/config/rejmerge.fish
> http://www.patroclo7.org/crux/config/ports.fish
>

Hello Giorgio, and thank you for the completions. Nice work!

I looked through the complitions, and have the following minor comments:

In this line of pkgmk, what is the purpose of  "-a ''"?

complete -f -c pkgmk -o cf -l config-file -a '' -r -d 'Use another config'

And secondly, I generally try to put all function definitions into
their own autoloaded file in the 'functions' subdirectory of fish. The
reason for this is that fish automatically unloads rarely used
function definitions to save a bit of memory.

Other than that, everything looks good. One thing I'd like to ask
about, though, is performance. Since I unfortunatly have not yet tried
crux, I don't know how fast or slow the package manager is. The 'rpm'
command is much too slow at printing a list of installed packages for
direct use, meaning fish has to cache the rpm output. This is not the
case with debian packages or gentoo packages. How fast/slow is crux at
package listing?

A final comment: If you resend the completions as a darcs patch, darcs
will track you as the official submitter. This might not seem like a
big thing today, but when fish becomes the dominating computer
interface for all people in a few years, you could be famous. Worth
thinking about. :)

Let me know if you have the time to make a revised set of completions.

> Regards
> Giorgio Lando

Axel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to