✏️ 正在编辑: removepkg
路径:
/snap/core20/2769/usr/share/bash-completion/completions/removepkg
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
# Slackware Linux removepkg completion -*- shell-script -*- _removepkg() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W '-copy -keep -preserve -warn' -- "$cur") ) return fi if [[ "$cur" == */* ]]; then _filedir return fi local root=${ROOT:-/} COMPREPLY=( $(cd "$root/var/log/packages" 2>/dev/null || return 1; \ compgen -f -- "$cur") ) } && complete -F _removepkg removepkg # ex: filetype=sh
💾 保存文件
← 返回文件管理器