Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Cellophan/czsh
oh-my-zsh with agnoster theme in a container
https://github.com/Cellophan/czsh
docker zsh zsh-theme
Last synced: 2 months ago
JSON representation
oh-my-zsh with agnoster theme in a container
- Host: GitHub
- URL: https://github.com/Cellophan/czsh
- Owner: Cellophan
- Created: 2016-12-03T19:21:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T08:55:54.000Z (2 months ago)
- Last Synced: 2024-04-12T15:36:28.574Z (2 months ago)
- Topics: docker, zsh, zsh-theme
- Language: Shell
- Size: 1.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - czsh - [ZSH](https://en.wikipedia.org/wiki/Z_shell) with [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) and the [agnoster](https://github.com/agnoster/agnoster-zsh-theme) theme in a container. (Themes / ZSH on Windows)
- awesome-zsh-plugins - czsh - [ZSH](https://en.wikipedia.org/wiki/Z_shell) with [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) and the [agnoster](https://github.com/agnoster/agnoster-zsh-theme) theme in a container. (Themes / Zinit (nÊe zplugin))
- awesome-zsh-plugins - czsh - [ZSH](https://en.wikipedia.org/wiki/Z_shell) with [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) and the [agnoster](https://github.com/agnoster/agnoster-zsh-theme) theme in a container. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - czsh - đ [ZSH](en.wikipedia.org/wiki/Z_shell) with <b><code>170250â</code></b> <b><code> 25672đ´</code></b> [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)) and the <b><code> 3924â</code></b> <b><code> 584đ´</code></b> [agnoster](https://github.com/agnoster/agnoster-zsh-theme)) theme in a container. (Themes / ZSH on Windows)
README
# czsh
Some have a repo with dot-files, here is a repo with my shell and tools packaged in a docker image. What started as [zsh](https://en.wikipedia.org/wiki/Z_shell) with [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) and [agnoster theme](https://github.com/agnoster/agnoster-zsh-them) in a container became a repo of the settings I like and some helpers.This is thought as a toolbox and contains:
* `docker` (the client)
* `refresh` for pulling the image itself.
* [docker-compose](https://docs.docker.com/compose/), [terraform](https://www.terraform.io/), [aws](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html), [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
* zsh aliases
* Check the content of material/scripts/
* ...## Use
The goal is to feel at home without impacting the host itself. There are 2 ways to start the container:
* `czsh`: The current directory is mounted inside the container.
* `me`: Each sub-directory of your HOME directory are mounted in the container.Each of them can be started as a shell or as an environment for a single command:
* As a shell:
```
$ czsh```
* As an environment:
```
$ czsh command
```## Install / Deploy
This is just shortcuts added in `/usr/local/bin`:
```
docker run --rm --entrypoint deploy -v /usr/local/bin:/deploydir cell/czsh
```### powerline
One nice thing of the [agnoster theme](https://github.com/agnoster/agnoster-zsh-them) is the prompt. Sadly it relies on some fonts on your host and compatibilities with your terminal. `czsh` doesn't solve this problem.
What worked for me is to follow the steps in the `Dockerfile` of this project after `#powerline`, [there](https://github.com/Cellophan/czsh/blob/master/Dockerfile).
## Others
This image relies on [cell/playground](https://github.com/Cellophan/dockerized-playground).
A similar image centered on `vim` is [cell/cvim](https://github.com/Cellophan/cvim).