matchai / spacefish

🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
960 stars 78 forks source link

feat: add cargo package manager and refactor existing package #171

Closed tiffafoo closed 5 years ago

tiffafoo commented 5 years ago

Description

Make package section support cargo package manager. Additionally, update current implementation of __sf_section_package.fish to use jq and python to go through package.json as spaceship does as a performance boost.

Motivation and Context

Closes #143

Types of changes

Screenshots (if appropriate):

How Has This Been Tested?

Checklist:

matchai commented 5 years ago

@sirMerr You may want to update the documentation in Options.md to mention the new Cargo support in the package section: https://github.com/matchai/spacefish/blob/master/docs/Options.md#package-version-package

Here is the equivalent spaceship documentation: https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Options.md#package-version-package

matchai commented 5 years ago

@all-contributors please add @sirMerr for tests

allcontributors[bot] commented 5 years ago

@matchai

I've put up a pull request to add @sirMerr! :tada:

matchai commented 5 years ago

:tada: This PR is included in version 2.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: