-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
not yet working due to to https://bugs.winehq.org/show_bug.cgi?id=24026 (Tab key just inserts `^I`)
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
cmd-clink: | ||
build: | ||
context: cmd-clink | ||
image: ghcr.io/carapace-sh/carapace-bin:cmd-clink | ||
hostname: carapace-bin:cmd-clink | ||
volumes: | ||
- '..:/carapace-bin:ro' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM archlinux | ||
|
||
RUN echo -e "\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n" >> /etc/pacman.conf | ||
|
||
RUN pacman -Sy --noconfirm elvish unzip wine | ||
|
||
RUN curl -L "https://github.com/chrisant996/clink/releases/download/v1.7.7/clink.1.7.7.521fa7.zip" > /tmp/clink.zip \ | ||
&& unzip -d /clink /tmp/clink.zip \ | ||
&& rm /tmp/clink.zip | ||
|
||
ENV WINEPATH="Z:\\clink;Z:\\carapace-bin\\cmd\\carapace" | ||
|
||
# TODO register clink/carapace and fix tab completion (https://bugs.winehq.org/show_bug.cgi?id=24026) | ||
|
||
RUN mkdir -p ~/.config/elvish \ | ||
&& echo -e "set paths = [ /carapace-bin/cmd/carapace \$@paths ]\neval (carapace _carapace|slurp)" > ~/.config/elvish/rc.elv | ||
ENV PATH="/carapace-bin/cmd/carapace:$PATH" | ||
|
||
CMD ["wine", "cmd"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters