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

https://github.com/tilt-dev/tilt-status-prompt


https://github.com/tilt-dev/tilt-status-prompt

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Description

Adds your Tilt resource status to your bash prompt, e.g.:
![Screenshot](screenshot.png)

# Usage

Put tilt-status-prompt.sh somewhere on your machine, e.g.:
```
mkdir -p ~/bin
curl https://raw.githubusercontent.com/tilt-dev/tilt-status-prompt/main/tilt-status-prompt.sh > ~/bin/tilt-status-prompt.sh
```

`source` it in your ~/.bashrc, e.g.:
```
echo 'source ~/bin/tilt-status-prompt.sh' > ~/.bashrc
```

change .bashrc to use `tilt_ps1` in your `$PS1`, e.g.:
```
export PS1='[\t $(__tilt_ps1)\$ '
```

Tilt status will now show up in your prompt any new shells. To get it to show up in an existing shell, run `source ~/.bashrc`.