text segments containing "%" #937
Replies: 3 comments 17 replies
-
To be clear, you want tcsh to replace it? Because that we don't support. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I don't understand your question. I need posh to generate an unescaped |
Beta Was this translation helpful? Give feedback.
-
The relevant segment of the theme is up in the first message. I can't seem to upload an image, but here's the summary: Ignoring posh for a second, if I set my
It results in the following:
Basically, tcsh is keeping the last 3 components of the path and replacing the preceding with an ellipsis. So, I was trying to achieve the same thing with posh by adding a I need the ellipsis behavior as it keeps the prompt to a manageable size. I don't think Hope that makes sense. |
Beta Was this translation helpful? Give feedback.
-
I have text segments like this
With the current version of posh, the
%c03
gets turned into%%c03%
, which causestcsh
to treat the%
as escaped and disregard the prompt specification.What is the workaround for the case where I need the
%
literally in the text segment ?thanks.
Beta Was this translation helpful? Give feedback.
All reactions