mainThe GNU Bourne-Again SHell - Support: sr #110991, Allow change of PROMPT_DIRTRIM...

 
 

sr #110991: Allow change of PROMPT_DIRTRIM character

Submitter:  None
Submitted:  Sat 23 Dec 2023 08:19:23 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 27 Dec 2023 09:16:13 PM UTC, comment #1: 

I'll consider this for a future version.

Chet Ramey <chet>
Group administrator
Sat 23 Dec 2023 08:19:23 PM UTC, original submission:  

The characters that trim a long working directory in the prompt are hardcoded to be '...'. Some people have shown desire to change it to something else, for example '…' in order to save 2 extra horizontal units of space.

I propose introducing a new variable to set the string to a custom one.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-27 chet StatusNone Postponed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code