Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidsneighbour/hugov

A quick and dirty GoHugo version selector for bash
https://github.com/davidsneighbour/hugov

bash bash-script gohugo hugo

Last synced: about 2 months ago
JSON representation

A quick and dirty GoHugo version selector for bash

Awesome Lists containing this project

README

        

## `hugov`

A quick and dirty GoHugo version selector for bash

> [!CAUTION]
> Use at your own peril. This is a quick and dirty script that might not work for you. It's a bash script that is supposed to be run on a Linux system. It's not tested on MacOS or Windows. It's not tested on all Linux distributions. It's not tested with all versions of GoHugo. It's not tested with all versions of bash. It's not tested with all versions of Linux. And it uses `sudo`. So, you know, be careful.

### Installation

Either do a soft link:

```bash
sudo ln -s /home/patrick/github.com/davidsneighbour/hugov/hugov /usr/local/bin/
```

Then run it:

```bash
hugov
```

Or run it from within this repository:

```bash
./hugov
```

## Read on

* [Blog post presenting `hugov`](https://kollitsch.dev/blog/2024/hugov-managing-multiple-gohugo-versions/)