From 726ab595ae0677833f207a3c828ecf3ef1bb6c07 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 17 Nov 2025 14:24:23 -0500 Subject: [PATCH] Dirstack with spaces in paths causes issues. So for now, I'm burning a process on every command, to check for its size by linecount. --- tcshrc.prompt.final | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tcshrc.prompt.final b/tcshrc.prompt.final index e3cd400..26b4223 100644 --- a/tcshrc.prompt.final +++ b/tcshrc.prompt.final @@ -366,8 +366,7 @@ if( ! $?CSHENV_DISABLE_PROMPT_PATH ) then set path_prompt_view="%{${path_color_seq}%}${path_prompt}%{${sgr_reset}%}" endif if( ! $?CSHENV_DISABLE_PROMPT_DIRS ) then - set dir_list=`dirs` - set dirs_prompt="${#dir_list}" + set dirs_prompt="${#dirstack}" if( ${dirs_prompt} > 1 ) then set dirs_prompt_view=" {%{${dirs_color_seq}%}${dirs_prompt}%{${sgr_reset}%}}" endif