Skip to content

Commit 3e46485

Browse files
MofXsimone-weiss
authored andcommitted
base: enable bash-completion for task
1 parent 53ac050 commit 3e46485

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

layers/base/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ COPY conf/bash/bashrc /root/.bashrc
114114
RUN chown -R root:root /root && \
115115
chmod +x /root/.bashrc
116116

117+
# Copy profile (task bash completion)
118+
COPY conf/profile.d/task-completion.sh /etc/profile.d
119+
117120
# Copy environment helper scripts
118121
COPY scripts/bash/* /build/bin/
119122

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eval "$(task --completion bash)"

0 commit comments

Comments
 (0)