Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
util-linux-systemd.32863
util-linux-bash-completion-su-chsh-l.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-bash-completion-su-chsh-l.patch of Package util-linux-systemd.32863
su -s <TAB> completion depends on "chsh -l" present in the util-linux implementation of chsh. But SUSE uses chsh from shadow package that does not include this feature. Use /etc/shells instead. --- util-linux/bash-completion/su +++ util-linux/bash-completion/su @@ -14,7 +14,7 @@ _su_module() return 0 ;; '-s'|'--shell') - COMPREPLY=( $(compgen -W "$(chsh -l)" -- $cur) ) + COMPREPLY=( $(compgen -W "$(</etc/shells)" -- $cur) ) return 0 ;; '-h'|'--help'|'-V'|'--version')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor