/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Do not use redirection characters in your shell prompt
(tanelpoder.com)
217 points
tanelpoder
| 2 comments |
17 Mar 21 14:38 UTC
|
HN request time: 0.437s
|
source
Show context
hebz0rl
◴[
17 Mar 21 15:20 UTC
]
No.
26492453
[source]
▶
>>26491858 (OP)
#
I use » instead which has been working well for me (zsh + alacritty on archlinux)
replies(1):
>>26492768
#
jeffbee
◴[
17 Mar 21 15:44 UTC
]
No.
26492768
[source]
▶
>>26492453
#
Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?
replies(2):
>>26493362
#
>>26494287
#
1.
kaslai
◴[
17 Mar 21 17:26 UTC
]
No.
26494287
[source]
▶
>>26492768
#
It's a quoting character, so any environment that intends to use » semantically would probably not use it as a redirection character
replies(1):
>>26494326
#
ID:
GO
2.
jeffbee
◴[
17 Mar 21 17:29 UTC
]
No.
26494326
[source]
▶
>>26494287 (TP)
#
Right, I was wondering if locales can influence the set of thing that behave as if they were ascii "
↑