Bash
bashThe GNU project's shell, and the login shell most Linux systems still start you in.
The GNU project's shell, and the login shell most Linux systems still start you in.
export PATH=, export NVM_DIR= *) return;;esac export PATH="/opt/homebrew/bin:/home/octocat/.local/bin:$PATH"machine-localexport HOMEBREW_PREFIX="/opt/homebrew"export NVM_DIR="/home/octocat/.nvm"machine-local export EDITOR=vimalias ll='ls -lah'Otty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
export HOMEBREW_PREFIX=esac export PATH="/opt/homebrew/bin:/home/octocat/.local/bin:$PATH"export HOMEBREW_PREFIX="/opt/homebrew"machine-localexport NVM_DIR="/home/octocat/.nvm" export EDITOR=vimOtty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
export PATH=# Login shell only.[ -r ~/.bashrc ] && . ~/.bashrcexport PATH="/home/octocat/.cargo/bin:$PATH"machine-localOtty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
Not a subtraction from the paths above: this is everything else Bash writes in your home directory that is state, not configuration. It keeps a whole-home manager like chezmoi from sweeping those up, and it still holds if the synced paths are ever widened.
export PATH=export NVM_DIR= *) return;;esac export PATH="/opt/homebrew/bin:/home/octocat/.local/bin:$PATH"machine-localexport HOMEBREW_PREFIX="/opt/homebrew"export NVM_DIR="/home/octocat/.nvm"machine-local export EDITOR=vimalias ll='ls -lah'Each machine keeps its own copy of these.
export HOMEBREW_PREFIX=esac export PATH="/opt/homebrew/bin:/home/octocat/.local/bin:$PATH"export HOMEBREW_PREFIX="/opt/homebrew"machine-localexport NVM_DIR="/home/octocat/.nvm" export EDITOR=vimEach machine keeps its own copy of these.
export PATH=# Login shell only.[ -r ~/.bashrc ] && . ~/.bashrcexport PATH="/home/octocat/.cargo/bin:$PATH"machine-localEach machine keeps its own copy of these.
Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.
Opens otty://sync/add/bash. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.
Every one of these is generated from the same rules as this page. None of them splits export PATH= and export NVM_DIR= for you — that part is Otty’s own sync, or a template you write by hand.