Mercurial > libervia-backend
comparison misc/README @ 3485:7b888a488474
misc: update names for D-Bus service file and zsh autocompletion:
- using `li` as main shortcut for `libervia-cli` instead of `jp`
- fix outdated Python version in `_li` zsh completion shell
- following global name change, D-Bus service file is no `org.libervia.Libervia.service`
and it launches `libervia-backend`
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 Mar 2021 18:14:41 +0100 |
parents | 7550ae9cfbac |
children | a27fd445c7c7 |
comparison
equal
deleted
inserted
replaced
3484:d7091c635e22 | 3485:7b888a488474 |
---|---|
1 This directory contains files related to SàT but not directly used by it. | 1 This directory contains files related to Libervia but not directly used by it. |
2 | 2 |
3 * file _jp: | 3 * file _li: |
4 This is the completion file for zsh. To use it, you need to have it in a path accessible in your fpath variable, and to have completion activated. This can be done by the following commands in your .zshrc: | 4 This is the completion file for zsh. To use it, you need to have it in a path accessible in your fpath variable, and to have completion activated. This can be done by the following commands in your .zshrc: |
5 | 5 |
6 ### .zshrc completion ### | 6 ### .zshrc completion ### |
7 fpath=(/path/to/directory/with/_jp/ $fpath) | 7 fpath=(/path/to/directory/with/_li/ $fpath) |
8 autoload -U compinit | 8 autoload -U compinit |
9 compinit | 9 compinit |
10 ### end of .zshrc completion ### | 10 ### end of .zshrc completion ### |
11 | 11 |
12 Then, you should be able to complete a jp command line by pressing [TAB]. | 12 Then, you should be able to complete a li command line by pressing [TAB]. |
13 | 13 |
14 * org.libervia.Libervia.service: | 14 * org.libervia.Libervia.service: |
15 This file is used by D-Bus to know how to launch the backend, you have to put in in D-Bus services dir (usually /usr/share/dbus-1/services) | 15 This file is used by D-Bus to know how to launch the backend, you have to put in in D-Bus services dir (usually /usr/share/dbus-1/services) |