changeset 705 | 4a77587b0617 |
parent 704 | e1347fd80853 |
child 719 | 862438e74410 |
--- a/.bashrc Wed Sep 10 03:04:57 2014 +0300 +++ b/.bashrc Wed Sep 10 03:17:31 2014 +0300 @@ -124,6 +124,12 @@ fi done } +_mypath() { + if [[ $COMP_CWORD = 2 ]]; then + COMPREPLY=( $(compgen -v -- "${COMP_WORDS[2]}") ) + fi +} +complete -F _mypath mypath # LANG=C for speed. alias grep='GREP_COLOR="31;47" LANG=C grep -n --color=auto'