Files
lambda-mod-zsh-theme/README.md
Maximilian Bosch 87e7cd7971 Make dir levels shown in the prompt configurable
Until now the prompt only shows the last three levels of the prompt,
however I'd personally prefer to have some more levels (i.e. five).

I figured that it's not worth debating about how many levels make sense,
instead it's now configurable in `~/.zshrc`, the current default will be
kept.

This can be achieved by adding the following line to `~/.zshrc` *before*
loading this theme:

```
export LAMBDA_MOD_N_DIR_LEVELS=5
```
2019-04-16 22:39:16 +02:00

527 B

Lambda (Mod) ZSH Theme

A ZSH theme optimized for people who use:

  • Git
  • Unicode-compatible fonts and terminals

Screenshot

Configuring the amount of dir levels

By default only the last three directories are shown in the prompt. The amount of levels can be configured by setting LAMBDA_MOD_N_DIR_LEVELS before loading the prompt:

# ~/.zshrc
export LAMBDA_MOD_N_DIR_LEVELS=10

# load `lambda-mod` and `oh-my-zsh`