You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gitstart supports Tab completion in your shell. Once set up, pressing Tab after typing part of a flag or subcommand will either complete it automatically or show you the available options. For example:
154
+
155
+
```sh
156
+
gitstart --di[TAB] # completes to --directory
157
+
gitstart --[TAB] # lists all flags
158
+
gitstart [TAB] # lists all subcommands: completion, help, version
159
+
```
160
+
161
+
Run the setup command for your shell once, then open a new terminal (or source your config file):
162
+
163
+
**Bash**
164
+
```sh
165
+
gitstart completion bash >>~/.bashrc
166
+
source~/.bashrc
167
+
```
168
+
169
+
**Zsh**
170
+
```sh
171
+
gitstart completion zsh >"${fpath[1]}/_gitstart"
172
+
source~/.zshrc
173
+
```
174
+
175
+
**Fish**
176
+
```sh
177
+
gitstart completion fish >~/.config/fish/completions/gitstart.fish
Gitstart supports Tab completion in your shell. Once set up, pressing Tab after typing part of a flag or subcommand will either complete it automatically or show you the available options. For example:
154
+
155
+
```sh
156
+
gitstart --di[TAB] # completes to --directory
157
+
gitstart --[TAB] # lists all flags
158
+
gitstart [TAB] # lists all subcommands: completion, help, version
159
+
```
160
+
161
+
Run the setup command for your shell once, then open a new terminal (or source your config file):
162
+
163
+
**Bash**
164
+
```sh
165
+
gitstart completion bash >>~/.bashrc
166
+
source~/.bashrc
167
+
```
168
+
169
+
**Zsh**
170
+
```sh
171
+
gitstart completion zsh >"${fpath[1]}/_gitstart"
172
+
source~/.zshrc
173
+
```
174
+
175
+
**Fish**
176
+
```sh
177
+
gitstart completion fish >~/.config/fish/completions/gitstart.fish
0 commit comments