You are not logged in.

#1 2007-12-17 23:28:30

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

pacman completion for fish (friendly interactive shell)

I have written the completion definitions of pacman for fish (http://fishshell.org).

You need to install a new function somewhere in your fish_function_path. The function has a general purpose and you can find it here:
http://www.patroclo7.org/archlinux/fish … n_opt.fish

The completion should be installed somewhere in your fish_complete_path:
http://www.patroclo7.org/archlinux/fish/pacman.fish

Since the policy of fish is to include all the completions in the upstream tarball, I have committed these two files for upstream inclusion. In the meantime (till the next release of fish, but not before tomorrow) there will be a fish-pacman in the AUR.

Comments and corrections more than welcome.


Mortuus in anima, curam gero cutis

Offline

#2 2007-12-18 00:27:51

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: pacman completion for fish (friendly interactive shell)

And the following are the completions for makepkg:
http://www.patroclo7.org/archlinux/fish/makepkg.fish


Mortuus in anima, curam gero cutis

Offline

#3 2008-02-22 17:34:06

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: pacman completion for fish (friendly interactive shell)

Where are they?

Offline

#4 2008-02-22 19:11:40

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: pacman completion for fish (friendly interactive shell)

patroclo7 sent em to the developers and they are now included in the fish package by default


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2008-02-23 17:45:14

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: pacman completion for fish (friendly interactive shell)

Yes, however they should be updated for the latest pacman release (just the newest options are not completed). But I have no time for this atm. If someone has time to send a simple patch but does not feel like sending a darcs patch to the fish mailing list, I can help with this last step, just email me. Otherwise you should wait a bit


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB