Cellophan / czsh

oh-my-zsh with agnoster theme in a container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 with oh-my-zsh and agnoster theme in a container became a repo of the settings I like and some helpers.

This is thought as a toolbox and contains:

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 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.

Others

This image relies on cell/playground.

A similar image centered on vim is cell/cvim.

About

oh-my-zsh with agnoster theme in a container


Languages

Language:Shell 70.0%Language:Dockerfile 26.1%Language:Makefile 2.0%Language:jq 2.0%