Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/roryq/synesthesia
- Owner: RoryQ
- License: mit
- Created: 2021-07-17T13:51:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-02T21:28:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T00:44:24.312Z (26 days ago)
- Topics: fish-shell, golang, iterm2, zsh
- Language: Go
- Homepage:
- Size: 228 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Synesthesia
### Sense your go module as iTerm2 tab coloursSynesthesia 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)