Server IP : 184.154.167.98 / Your IP : 3.137.174.253 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
#!/bin/bash # # Powertop tab completion for bash. # # This is part of PowerTOP # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with this program in a file named COPYING; if not, write to the # Free Software Foundation, Inc, # 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301 USA # or just google for it. _powertop() { local cur prev words cword split _init_completion -s || return case $prev in '-C'|'--csv'|'--extech'|'-r'|'--html'|'-w'|'--workload') _filedir return 0 ;; esac local all_long_options=$( _parse_help "$1" ) COMPREPLY=( $( compgen -W "${all_long_options}" -- "$cur" ) ) return 0 } # load the completion complete -F _powertop powertop