Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drager/geometry-npm-package-version
Geometry plugin to display the current folder's npm package version.
https://github.com/drager/geometry-npm-package-version
geometry zsh
Last synced: about 1 month ago
JSON representation
Geometry plugin to display the current folder's npm package version.
- Host: GitHub
- URL: https://github.com/drager/geometry-npm-package-version
- Owner: drager
- License: apache-2.0
- Created: 2018-10-05T14:12:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2018-10-05T14:38:30.000Z (over 5 years ago)
- Last Synced: 2024-01-23T19:15:51.527Z (4 months ago)
- Topics: geometry, zsh
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - geometry-npm-package-version - [Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's npm package version. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - geometry-npm-package-version - [Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's npm package version. (Plugins / Zinit (nÊe zplugin))
- awesome-zsh-plugins - geometry-npm-package-version - [Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's npm package version. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - geometry-npm-package-version - <b><code> 920â</code></b> <b><code> 93đ´</code></b> [Geometry](https://github.com/geometry-zsh/geometry)) plugin to display the current folder's npm package version. (Plugins / ZSH on Windows)
README
# Geometry npm package version plugin
[Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's npm package version when a `package.json`.![Screenshot](https://user-images.githubusercontent.com/1957563/46541451-57f6d080-c8bc-11e8-98fc-a1587e966d3a.png)
## Installation
Installation depends on the way you manage your plugins for zsh.**Note:** This plugin needs to be loaded after geometry.
An easy way to get it, is to clone this repository:
`git clone [email protected]:drager/geometry-npm-package-version.git`Then source it:
`source /path/to/geometry-npm-package-version/npm_package_version.zsh`## Configuration
### Colors
```
GEOMETRY_COLOR_NPM_PACKAGE_SYMBOL=${GEOMETRY_COLOR_NPM_PACKAGE_SYMBOL:-red}
GEOMETRY_COLOR_NPM_PACKAGE_VERSION=${GEOMETRY_COLOR_NPM_PACKAGE_VERSION:-red}
```### Symbols
```
GEOMETRY_NPM_PACKAGE_SYMBOL=${GEOMETRY_NPM_PACKAGE_SYMBOL:-"đĻ"}
```## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/drager/geometry-npm-package-version/issues