Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
bash-completion
bash-completion-mount_dir_fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bash-completion-mount_dir_fix.patch of Package bash-completion
Index: bash_completion/bash_completion =================================================================== --- bash_completion.orig/bash_completion +++ bash_completion/bash_completion @@ -679,8 +679,12 @@ _mount() | grep "^$cur" ) ) else # probably Linux - COMPREPLY=( $( awk '! /^[ \t]*#/ {if ($2 ~ /\//) print $2}' \ + if [ $EUID -eq 0 ]; then + _filedir + else + COMPREPLY=( $( awk '! /^[ \t]*#/ {if ($2 ~ /\//) print $2}' \ /etc/fstab | grep "^$cur" ) ) + fi fi return 0
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