From 0f70ae28c44caf9514014213efe2786965680ead Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 23 Aug 2021 17:13:38 +0200 Subject: [PATCH] Render ellipsis for nesting > 2 --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index bcd67a5..bcd42af 100644 --- a/.bashrc +++ b/.bashrc @@ -49,3 +49,5 @@ nvm() { lazy_load_nvm nvm $@; } node() { lazy_load_nvm node $@; } npm() { lazy_load_nvm npm $@; } npx() { lazy_load_nvm npx $@; } +# Ellipsis when deep in directory +export PROMPT_DIRTRIM=2