Skip to content

A simple Fisher plugin containing functions for updating Zig and ZLS under Fish shell.

License

Notifications You must be signed in to change notification settings

gren236/zig-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Zig Updater

A simple Fisher plugin for fish shell that contains functions for updating Zig and ZLS under MacOS.

Consists of 2 functions:

  • zig_update - checks if current Zig version is equal to a latest master, if not installs it in /usr/local/zig with a symlink to /usr/local/bin/zig. Requires sudo elevation.
  • zls_update - retrieves a Zig version installed and gets a latest ZLS corresponding to that version. Installs to /usr/local/bin/zls. Requires sudo elevation.

For now it works for MacOS only, support for other architectures is on the roadmap.

Requirements

  1. curl
  2. jq

Installation

  1. Install Fisher plugin manager
  2. Install this plugin with fisher install gren236/zig-updater

About

A simple Fisher plugin containing functions for updating Zig and ZLS under Fish shell.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages