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