Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Merge requests
!111
Add beginner walkthrough documentation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add beginner walkthrough documentation
hugo-doc
into
master
Overview
6
Commits
7
Pipelines
1
Changes
1
Merged
Hugo Trentesaux
requested to merge
hugo-doc
into
master
2 years ago
Overview
6
Commits
7
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
a56b5a8e
Show latest version
1 file
+
14
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a56b5a8e
add zsh autocomplete
· a56b5a8e
Hugo Trentesaux
authored
2 years ago
docs/user/autocompletion.md
+
14
−
0
Options
@@ -30,3 +30,17 @@ Or you can automatically source it at `bash` startup by adding this to your `~/.
```
You can now enjoy semantic completion of the
`./target/release/duniter`
command using
`<Tab>`
key.
## Zsh
Zsh equivalent
```
sh
# make directory to store completion
mkdir
-p
~/.zsh/completion
# write the completion script
cargo run
--release
--
completion
--generator
zsh
>
~/.zsh/completion/_duniter.zsh
# add the following lines to your ~/.zshrc
fpath+
=(
~/.zsh/completion
)
compinit
# might slow down terminal startup
```
Loading