From 6e1446643bcf58dd8072af645edc37098c98e9df Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Tue, 26 Sep 2023 11:57:06 +0000 Subject: [PATCH] add citus_dev bash completions --- .devcontainer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 04c5a121b..ff96e1a2a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -160,7 +160,9 @@ ENV PATH="/home/citus/.bin:${PATH}" RUN git clone --branch develop https://github.com/citusdata/tools.git citus-tools \ && ( cd citus-tools/citus_dev && pipenv install ) \ && ln -s /home/citus/citus-tools/citus_dev/citus_dev-pipenv .bin/citus_dev \ - && sudo make -C citus-tools/uncrustify install bindir=/usr/local/bin pkgsysconfdir=/usr/local/etc/ + && sudo make -C citus-tools/uncrustify install bindir=/usr/local/bin pkgsysconfdir=/usr/local/etc/ \ + && mkdir -p ~/.local/share/bash-completion/completions/ \ + && ln -s ~/citus-tools/citus_dev/bash_completion ~/.local/share/bash-completion/completions/citus_dev # TODO some LC_ALL errors, possibly solved by locale-gen RUN git clone https://github.com/so-fancy/diff-so-fancy.git \