Skip to content
/ czsh Public

oh-my-zsh with agnoster theme in a container

Notifications You must be signed in to change notification settings

Cellophan/czsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.