Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/roryq/synesthesia

Sense your go module as iTerm2 tab colours
https://github.com/roryq/synesthesia

fish-shell golang iterm2 zsh

Last synced: 26 days ago
JSON representation

Sense your go module as iTerm2 tab colours

Awesome Lists containing this project

README

        

# Synesthesia
### Sense your go module as iTerm2 tab colours

Synesthesia updates your iTerm2 tab colours depending on the go module name in your directory ancestry.

# Installation
### 1. Install from source using golang 1.16

```
go install github.com/roryq/synesthesia@latest
```

### 2. Then configure a hook for your shell.
### fish
Add the following line to your `~/.config/fish/config.fish`:
```fish
synesthesia hook fish | source
```

### zsh
Add the following line to your `~/.zshrc`
```zsh
eval "$(synesthesia hook zsh)"
```

# Usage
Navigate between your directories as usual. When you have multiple tabs open for different go projects,
a consistent random colour will be chosen for any tabs with the same go module name.

![](demo.gif)

# License
[MIT](LICENSE)