Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ A. [ Disclaimer: Here, how to make the completion code visible to

```makefile
bashcompdir = @bashcompdir@
dist_bashcomp_DATA = your-completion-file # completion files go here
dist_bashcomp_DATA = your-completion-file.bash # completion files go here
```

For cmake we ship the `bash-completion-config.cmake` and
Expand All @@ -225,7 +225,7 @@ A. [ Disclaimer: Here, how to make the completion code visible to
"Using fallback bash completion dir ${BASH_COMPLETION_COMPLETIONSDIR}")
endif()

install(FILES your-completion-file DESTINATION
install(FILES your-completion-file.bash DESTINATION
${BASH_COMPLETION_COMPLETIONSDIR})
```

Expand All @@ -242,13 +242,13 @@ A. [ Disclaimer: Here, how to make the completion code visible to

```makefile
bashcompdir = $(datarootdir)/bash-completion/completions
dist_bashcomp_DATA = your-completion-file
dist_bashcomp_DATA = your-completion-file.bash
```

Example for `CMakeLists.txt`:

```cmake
install(FILES your-completion-file DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions")
install(FILES your-completion-file.bash DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions")
```

**Q. When completing on a symlink to a directory, bash does not append
Expand Down
Loading