Skip to content

Commit 54f1c3b

Browse files
authored
Merge pull request #3 from carapace-sh/tcsh
added shell-tcsh
2 parents c3cf3e3 + 64e1e89 commit 54f1c3b

File tree

6 files changed

+21
-0
lines changed

6 files changed

+21
-0
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
docker image tag ghcr.io/carapace-sh/shell-nushell ghcr.io/carapace-sh/shell-nushell:${tag}
4747
docker image tag ghcr.io/carapace-sh/shell-oil ghcr.io/carapace-sh/shell-oil:${tag}
4848
docker image tag ghcr.io/carapace-sh/shell-powershell ghcr.io/carapace-sh/shell-powershell:${tag}
49+
docker image tag ghcr.io/carapace-sh/shell-tcsh ghcr.io/carapace-sh/shell-tcsh:${tag}
4950
docker image tag ghcr.io/carapace-sh/shell-xonsh ghcr.io/carapace-sh/shell-xonsh:${tag}
5051
docker image tag ghcr.io/carapace-sh/shell-zsh ghcr.io/carapace-sh/shell-zsh:${tag}
5152
docker image tag ghcr.io/carapace-sh/shell ghcr.io/carapace-sh/shell:${tag}
@@ -59,6 +60,7 @@ jobs:
5960
docker image push ghcr.io/carapace-sh/shell-nushell:${tag}
6061
docker image push ghcr.io/carapace-sh/shell-oil:${tag}
6162
docker image push ghcr.io/carapace-sh/shell-powershell:${tag}
63+
docker image push ghcr.io/carapace-sh/shell-tcsh:${tag}
6264
docker image push ghcr.io/carapace-sh/shell-xonsh:${tag}
6365
docker image push ghcr.io/carapace-sh/shell-zsh:${tag}
6466
docker image push ghcr.io/carapace-sh/shell:${tag}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Build/test containers.
1212
| [shell-nushell](./shell-nushell/Dockerfile) | base+[nushell] |
1313
| [shell-oil](./shell-oil/Dockerfile) | base+[oil] |
1414
| [shell-powershell](./shell-powershell/Dockerfile) | base+[powershell] |
15+
| [shell-tcsh](./shell-tcsh/Dockerfile) | base+[tcsh] |
1516
| [shell-xonsh](./shell-xonsh/Dockerfile) | base+[xonsh] |
1617
| [shell-zsh](./shell-zsh/Dockerfile) | base+[zsh] |
1718
| [shell](./shell/Dockerfile) | base+shell-* |
@@ -28,6 +29,7 @@ Additional init file instruction (e.g. `.bashrc`) can be set with:
2829
| `$RC_NUSHELL` |
2930
| `$RC_OIL` |
3031
| `$RC_POWERSHELL` |
32+
| `$RC_TCSH` |
3133
| `$RC_XONSH` |
3234
| `$RC_ZSH` |
3335

@@ -38,6 +40,7 @@ Additional init file instruction (e.g. `.bashrc`) can be set with:
3840
[nushell]:https://github.com/nushell/nushell
3941
[oil]:https://github.com/oils-for-unix/oils
4042
[powershell]:https://github.com/PowerShell/PowerShell
43+
[tcsh]:https://www.tcsh.org/
4144
[xonsh]:https://github.com/xonsh/xonsh
4245
[zsh]:https://www.zsh.org/
4346
[vhs]:https://github.com/charmbracelet/vhs

base/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[ -z "$RC_NUSHELL" ] || echo "$RC_NUSHELL" >> /root/.config/nushell/env.nu
77
[ -z "$RC_OIL" ] || echo "$RC_OIL" >> /root/.config/oils/oshrc
88
[ -z "$RC_POWERSHELL" ] || echo "$RC_POWERSHELL" >> /root/.config/powershell/profile.ps1
9+
[ -z "$RC_TCSH" ] || echo "$RC_TCSH" >> /root/.tcshrc
910
[ -z "$RC_XONSH" ] || echo "$RC_XONSH" >> /root/.config/xonsh/rc.xsh
1011
[ -z "$RC_ZSH" ] || echo "$RC_ZSH" >> /root/.zshrc
1112

compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ services:
3232
build: shell-powershell
3333
image: ghcr.io/carapace-sh/shell-powershell
3434

35+
shell-tcsh:
36+
build: shell-tcsh
37+
image: ghcr.io/carapace-sh/shell-tcsh
38+
3539
shell-xonsh:
3640
build: shell-xonsh
3741
image: ghcr.io/carapace-sh/shell-xonsh

shell-tcsh/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ghcr.io/carapace-sh/base
2+
3+
RUN apt-get update && apt-get install -y tcsh
4+
5+
ADD tcshrc.sh /root/.tcshrc
6+
7+
CMD ["tcsh"]

shell-tcsh/tcshrc.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
eval eval `(/usr/local/bin/starship init tcsh --print-full-init)`
2+
set autolist
3+
4+
set autolist

0 commit comments

Comments
 (0)