[Bash-completion] Fixed a bug that ~ doesn't expanded to $HOME
authorYuka Takahashi <yukatkh@gmail.com>
Sat, 1 Jul 2017 16:30:02 +0000 (16:30 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Sat, 1 Jul 2017 16:30:02 +0000 (16:30 +0000)
commit558f3dd527d3774bff70a53c5ab91a20c1f72b19
tree4d88b867d888ec1d2a4fd5f5df688f93f3912ee1
parentf7c4d7b0b161be9c1528095c012504d15a6da045
[Bash-completion] Fixed a bug that ~ doesn't expanded to $HOME

Summary: `~/build/bin/clang -f[tab]` was executed without ~ expanded to $HOME, so changed this by expanding ~ to path using eval.

Differential Revision: https://reviews.llvm.org/D34925

llvm-svn: 306957
clang/utils/bash-autocomplete.sh