[Xfce-bugs] [Bug 16218] New: Add Bash completion
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sun Nov 24 15:26:49 CET 2019
https://bugzilla.xfce.org/show_bug.cgi?id=16218
Bug ID: 16218
Summary: Add Bash completion
Classification: Xfce Core
Product: Xfconf
Version: Unspecified
Hardware: Other
OS: Windows
Status: NEW
Severity: enhancement
Priority: Medium
Component: Xfconf-query
Assignee: xfce-bugs at xfce.org
Reporter: xfce-bugzilla at emanuelepetriglia.com
Target Milestone: Future
Created attachment 9275
--> https://bugzilla.xfce.org/attachment.cgi?id=9275&action=edit
Patch that adds Bash completion to xfconf-query
Hi,
I attached a patch that adds bash completion to xfconf-query. This script
autocompletes short and long options, it also suggests channels and properties
based on given channel. Here there are some examples:
[user at computer]$ xfconf-query -<TAB>
--channel --help --property --set --verbose -T
-c -m -r -v
--create --list --recursive --toggle --version -V
-h -n -s
--force-array --monitor --reset --type -R -a
-l -p -t
[user at computer]$ xfconf-query --channel xfce4-<TAB>
xfce4-appfinder xfce4-keyboard-shortcuts xfce4-panel
xfce4-session xfce4-settings-manager
xfce4-desktop xfce4-notifyd xfce4-power-manager
xfce4-settings-editor
[user at computer]$ xfconf-query --channel parole -p <TAB>
/audio/volume /subtitles/font /window/maximized
[user at computer]$ xfconf-query -c thunar -p /last-window-<TAB>
/last-window-height /last-window-maximized /last-window-width
I have done some tests in local, it should works fine.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list