Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@drwilly
Copy link
Contributor

@drwilly drwilly commented Apr 16, 2018

Improvements for gentoo/portage related completions

drwilly added 5 commits April 15, 2018 18:23
- fix capitalization
- shorten descriptions
- implement subcommand shortcuts
- add arg completion for 'limit' and 'depth' switches
- improve arg completion for list subcommand in case of -p switch
@@ -0,0 +1,43 @@
function __fish_seen_ebuild_arg -d "Test if an ebuild-argument has been given in the current commandline"
set -l cmd (commandline -poc)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function can be replaced with

commandline -opc | string match -q '*.ebuild'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat

greatly simplify __fish_seen_ebuild_arg
@faho faho merged commit 0b0e65a into fish-shell:master Apr 25, 2018
@faho
Copy link
Member

faho commented Apr 25, 2018

Merged, thanks!

@faho faho added this to the fish-3.0 milestone Apr 25, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants