https://github.com/lessmost/omf-plugin-jdk
An oh-my-fish plugin to switch between different JDK versions.
https://github.com/lessmost/omf-plugin-jdk
fish fish-shell jdk oh-my-fish oh-my-fish-plugin
Last synced: about 2 months ago
JSON representation
An oh-my-fish plugin to switch between different JDK versions.
- Host: GitHub
- URL: https://github.com/lessmost/omf-plugin-jdk
- Owner: lessmost
- License: mit
- Created: 2020-04-18T09:17:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-16T04:07:13.000Z (over 5 years ago)
- Last Synced: 2025-03-21T02:41:40.842Z (over 1 year ago)
- Topics: fish, fish-shell, jdk, oh-my-fish, oh-my-fish-plugin
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

#### jdk
> A plugin for [Oh My Fish][omf-link].
> Switch between different JDK versions.
[](/LICENSE)
[](https://fishshell.com)
[](https://www.github.com/oh-my-fish/oh-my-fish)
## Install
```fish
$ omf install https://github.com/zqlu/omf-plugin-jdk.git
```
## Usage
```fish
# Switch to JDK 1.8
$ jdk 1.8
# Switch to JDK 9
$ jdk 9
# Switch to JDK 11
$ jdk 11
# Switch to default JDK
$ jdk
```
# License
[MIT][mit] © [zqlu][author] et [al][contributors]
[mit]: https://opensource.org/licenses/MIT
[author]: https://github.com/{{USER}}
[contributors]: https://github.com/{{USER}}/plugin-jdk/graphs/contributors
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish
[license-badge]: https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square