systemd/shell-completion/zsh
Jörg Sommer d9e15cbd18 journalctl: New option --cursor-file
The option cursor-file takes a filename as argument. If the file exists and
contains a valid cursor, this is used to start the output after this position.
At the end, the last cursor gets written to the file.

This allows for an easy implementation of a timer that regularly looks in the
journal for some messages.

    journalctl --cursor-file err-cursor -b -p err
    journalctl --cursor-file audit-cursor -t audit --grep DENIED

Or you might want to walk the journal in steps of 10 messages:

    journalctl --cursor-file ./curs -n10 --since=today -t systemd
2019-02-27 18:43:31 +01:00
..
_bootctl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_busctl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_coredumpctl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_hostnamectl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_journalctl journalctl: New option --cursor-file 2019-02-27 18:43:31 +01:00
_kernel-install zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_localectl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_loginctl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_machinectl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_networkctl zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_sd_hosts_or_user_at_host Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
_sd_machines zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_sd_outputmodes journalctl: port JSON output mode to new JSON API 2018-10-11 17:25:27 +02:00
_sd_unit_files Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
_systemctl.in zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
_systemd-analyze zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-delta zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-inhibit zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-nspawn zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-resolve zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-run zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
_systemd-tmpfiles Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
_timedatectl Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
_udevadm zsh completion: Prevent functions from clobbering each other, &c. 2019-01-08 15:23:37 +01:00
meson.build meson: drop redundant messages 2018-07-10 23:24:39 -07:00