Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 16, 2024
1 parent 3ef8626 commit c4cc986
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ghcr.io/rsteube/carapace:latest

RUN apt-get update \
&& apt-get install -y npm \
&& apt-get install -y bash-completion \
npm \
pip

# argcomplete
Expand Down
9 changes: 7 additions & 2 deletions pkg/actions/bridge/bash.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash -i
# set -e
# set -o pipefail
# TODO set -e
# TODO set -o pipefail

[ -f /usr/local/etc/bash_completion ] && source /usr/local/etc/bash_completion # osx
[ -f /usr/share/bash-completion/bash_completion ] && source /usr/share/bash-completion/bash_completion # linux
[ -f /data/data/com.termux/files//usr/share/bash-completion/bash_completion ] && source /data/data/com.termux/files//usr/share/bash-completion/bash_completion # termux


# COMP_LINE="$1"
COMP_WORDS=($COMP_LINE)
Expand Down

0 comments on commit c4cc986

Please sign in to comment.