33

The tag's wiki says:

Questions about the BASH shell's PS1 input prompt facility.

However, half the questions using the tag are actually about Windows PowerShell, which runs PowerShell scripts with the .ps1 file extension.

There is already a tag for powershell scripts though: .

Is it time to edit all the PowerShell questions from the tag to the tag, then edit the tag wiki to clarify that it is not for PowerShell questions?

15
  • 14
    A tag about a feature that may or may not be present in some shells... why do we need it?
    – Braiam
    Oct 7, 2018 at 16:36
  • 15
    @Braiam We don't need a tag about a file extension eiher Oct 7, 2018 at 19:36
  • 14
    I've been removing the ps1 tag from PowerShell questions for years. Just added a note to the ps1 tag info page. Oct 7, 2018 at 20:33
  • 3
    @CamiloTerevinto which further my point. There's no need for such a tag, lets just get rid of it and stop ourself from wondering what the heck it should be used for.
    – Braiam
    Oct 7, 2018 at 23:09
  • 124
    So it's not for PlayStation 1 questions?
    – kjhughes
    Oct 8, 2018 at 0:39
  • 1
    @kjhughes no PlayStation 1 would belong on gaming.stackexchange.com
    – Meghan
    Oct 8, 2018 at 1:16
  • 21
    I guess my comment needed a :-)
    – kjhughes
    Oct 8, 2018 at 1:49
  • 3
    @kjhughes Apparently it did :-)
    – Skipper
    Oct 8, 2018 at 11:25
  • 7
    @Braiam It's not obvious to me that the tag should be nuked. I don't know enough about the feature in question to judge, but it seems at least plausible to me that there may be some significant depth of knowledge possible about how Bash prompt customisation works, such that it's sensible to have a tag to group questions about it and bring them to the attention of people with the arcane knowledge required to answer them. Here's a dude with 15 answers in the tag: stackoverflow.com/search?q=user:1126841+[ps1]; I'd at least try to get him to opine before starting the burnination process.
    – Mark Amery
    Oct 8, 2018 at 11:36
  • 1
    @MarkAmery an specific tag for an specific feature which is available on some specific shells or a extension for files meant for a specific program. Why wouldn't be nuked? It's ambiguous as it is used right now and crap at each of their separated usages. Use powershell tag or shell for those. It's unnecessary to have this tag. Oh, btw, did you notice that all those questions have the bash tag? Or that he has more answers without ps1
    – Braiam
    Oct 8, 2018 at 11:40
  • 8
    @Braiam I don't think the fact that something is a "feature" is in itself a reason for nuking a tag. Some pieces of software have mere features that are more complicated than entire programs or libraries. If such a feature has genuine experts and is complicated enough to inspire a broad array of questions about it, then I have no problem with it having a tag. I'm not saying with confidence that this particular feature meets those criteria, because I don't know enough about it to judge, but I am saying that "mere features should not have tags" is not a principle I'd want to stand behind.
    – Mark Amery
    Oct 8, 2018 at 11:58
  • 1
    @MarkAmery nor it's a reason to have one.
    – Braiam
    Oct 8, 2018 at 13:20
  • 4
    @Meghan there exists a stackoverflow.com/questions/tagged/ps3 and stackoverflow.com/questions/tagged/ps4 tag
    – jontro
    Oct 8, 2018 at 14:59
  • 1
    It just isn't a problem, 89% of those questions already either have the [bash] or [powershell] tag. There are always a few stray ones, including questions that are too lousy for anybody to look at, no real idea how [git] got to be the next common tag. Oct 8, 2018 at 15:43
  • 1
    @HansPassant probably because people like to modify their prompt to include the git status.
    – Braiam
    Oct 8, 2018 at 17:05

3 Answers 3

11

Attempting to force users to not misuse an ambiguous tag is simply bound to fail: we know users tend not to read (tag) descriptions.

I suggest to simply abolish the tag entirely, and to replace it with two unambiguous tag names: (already exists) and .

4
  • 1
    I like shell-prompt but I wonder if it's too unspecific - this would also cover $prompt from pwsh, $ps1 from bash and whatever zsh, csh etc use. Oct 9, 2018 at 12:17
  • 2
    @mikemaccana I think this is a feature: multiple tags can be combined. By contrast, if we have a bash-prompt tag, do you also think we should have a sh-prompt, ksh-prompt, fish-prompt, zsh-prompt, etc? Oct 9, 2018 at 12:27
  • Good question. Yes I'd support ksh-prompt etc Oct 9, 2018 at 12:50
  • No, please no. The feature itself and the extension have proper tags already. [shell] and [powershell]
    – Braiam
    Oct 9, 2018 at 17:57
9

This a problem of de jure vs de facto. In practice it means both things, it's ambiguous and a waste of time of users trying to enforce a meaning. I prefer that it means neither and we just remove this from the system. That way we don't have to wonder which meaning it should have and Ansgar can create the next Flappy bird in powershell.

5
  • 1
    bash-prompt would be a better, more descriptive name. Oct 9, 2018 at 12:16
  • 4
    @mikemaccana this feature isn't specific to bash.
    – Braiam
    Oct 9, 2018 at 14:42
  • I know. But other shells have a different prompt syntax to bash. Oct 9, 2018 at 16:36
  • 6
    @mikemaccana We don't need a tag representing just bash's shell prompt. The prompt is a commonly understood concept that applies to many different shells. It is enough to have a tag representing that concept and a tag for the particular shell the question is asking about, just as we might have a for-loop that can be combined with any number of languages. Sure, the implementation details and syntax and names might differ a little bit, but the basic concept is the same.
    – jpmc26
    Oct 9, 2018 at 17:16
  • @jpmc Fair enough. I was thinking a question asked about the bash prompt won't be relevant for a csh prompt, a question asked about the pwsh prompt won't be relevant for a ksh prompt. But that logic does also apply to for loops as you say so I've changed my mind here - it's better to be consistent and just have shell-prompt or prompt Oct 10, 2018 at 9:46
0

200 questions, 58 , 30 are general shell questions that are likely BASH related (since BASH-like shells are used in other common things with shells, like Git)

I would suggest we rename the tag to [bash-prompt] (since that's the general concept here) and synonym to it. It removes the ambiguity of what it's being used for

2
  • 4
    The prompt isn't specific to any shell. There are shells that support prompt customization and others that do not.
    – Braiam
    Oct 9, 2018 at 14:45
  • 2
    @Braiam Yes it is. pwsh $prompt, bash's $ps1, csh $prompt, and ksh's $ps1 all have different syntax Oct 9, 2018 at 16:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .