Jakobus Schürz
d2f0657629
and use the same pathes for vim plugin repos on git.schuerz.at as on github.com
11 lines
280 B
Bash
11 lines
280 B
Bash
#!/bin/bash
|
|
|
|
function _uencfsfiles() {
|
|
COMPREPLY=()
|
|
local CUR KEYS
|
|
CUR="${COMP_WORDS[COMP_CWORD]}"
|
|
KEYS=$(mount|grep encfs|sed -e 's/^encfs on \(.*\)\ type.*$/\1/')
|
|
COMPREPLY=( $(compgen -W "${KEYS}" -- ${CUR}) )
|
|
return 0
|
|
}
|
|
complete -F _uencfsfiles uencfs
|