My super fancy dotfiles with docker demo :)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dots
tools/rusty-prompt
.dockerignore
.gitignore
Dockerfile
Makefile
README.md
patch.sh
setup_nvim.sh
terminal-dark.png
terminal-light.png
vim.png

README.md

klingt.net's dotfiles

The latest edition of my dotfiles. This time I tried to make the prompt as minimal as possible without omitting relevant informations. Both prompts, bash and zsh are looking identical, except that there is no version control prompt for bash. I'm also using defaults wherever possible, so customization is really easy.

Try it yourself: make try (requires docker)

vim with papercolor theme terminal with solarized-dark theme terminal with solarized-light theme

Prompt Features

  • subshell level if > 0
  • number of background jobs if > 0
  • return code if non zero
  • root username is red
  • git branch (zsh only)
  • works with light and dark shell color themes

Try

$ make try
  • requires docker
  • spins up a small alpine linux container

Install

WARNING The installation will overwrite your original dots without confirmation!

$ make install

Customize

You can create a patch file of your custom dotfile settings:

$ ./patch.sh create

The install script will check if the patch file exists and apply them after a successful installation. You can also apply them manually by running: ./patch.sh apply.

Notes

Wayland doesn't respect .profile files which means that .desktop applications do not inherit the environment variables set there. I wondered why Visual Studio Code could not find my GOPATH and created the following file as a workaround:

$ cat /usr/share/gdm/env.d/gopath.env
# This is a fix for wayland ignoring `.profile`
# https://bugzilla.gnome.org/show_bug.cgi?id=736660
GOPATH=$HOME/.go