See this guide for more information.
IMPORTANT: xxx below are placeholders. Update with your app name, user name etc.
- Add the PostgreSQL APT repository:
See this guide for more information.
IMPORTANT: xxx below are placeholders. Update with your app name, user name etc.
| #!/usr/bin/env bash | |
| # | |
| # Navin's custom Claude Code statusline. Inspired by claude-hud and many others. | |
| # | |
| # Put this script at `~/.claude/statusline.sh` and add the following to your | |
| # `~/.claude/settings.json`: | |
| # | |
| # ```json | |
| # "statusLine": { |
| git_branch = | |
| case System.cmd("git", ["rev-parse", "--abbrev-ref", "HEAD"]) do | |
| {branch, 0} -> String.trim(branch) | |
| _ -> "" | |
| end | |
| db_suffix = | |
| if git_branch == "main" do | |
| "" | |
| else |