Difference between revisions of "Help talk:Reading"

From ArchWiki
Jump to navigation Jump to search
(Optional dependencies: new section)
(About Help:Reading#Bash: re)
Line 36: Line 36:
  
 
:::Anything else, or can this be closed? -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 11:51, 18 November 2015 (UTC)
 
:::Anything else, or can this be closed? -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 11:51, 18 November 2015 (UTC)
 +
 +
::::Everything good now! Thanks!--[[User:NonerKao|NonerKao]] ([[User talk:NonerKao|talk]]) 14:42, 18 November 2015 (UTC)
  
 
== Optional dependencies ==
 
== Optional dependencies ==
  
 
It may be a good idea to add a mention on optional dependencies in [[Help:Reading#Installation of packages]], as articles implicitly assume users are aware of them, and link to [[PKGBUILD#optdepends]]. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 11:54, 18 November 2015 (UTC)
 
It may be a good idea to add a mention on optional dependencies in [[Help:Reading#Installation of packages]], as articles implicitly assume users are aware of them, and link to [[PKGBUILD#optdepends]]. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 11:54, 18 November 2015 (UTC)

Revision as of 14:42, 18 November 2015

Purpose

Besides covering basic differentiations, this article could serve to improve the quality of the Wiki by avoiding repetition. How many articles say: "edit in ~/.bashrc, or zhrc (if you're using zsh) -- alternatively, edit /etc/profile.bash for system-wide changes" or something to that effect? And even though it sounds counterintuitive, expanding this article makes the Wiki better for advanced users as well, since they won't be presented with the same old information they're accustomed to skip.

We could have a basic run down of common file locations and what they mean, instead of explaining them in every article. Editors can just say "add the following to the shell's configuration" and readers would then decide whether they want it system-wide or not, etc.

Just like article:ABS is referred to in every page that involves compiling, this page could serve the same kind of utility.

—This unsigned comment is by Manolo (talk) 16:39, 12 November 2009 (UTC). Please sign your posts with ~~~~!

About Help:Reading#Bash

First of all, it's very confusing that such detailed description appears in such generic topic. Why wouldn't just mention the two configutration files like:

/etc/bash.bashrc: A system-wide setting for bash;
~/.bashrc: A personal shell setting for bas.

And then give some reference to Bash at the end of this topic? It would also be more compatible to the section title "System-wide versus user-specific configuration", instead of distinguishing login/interactive shells.

I have one more question about this paragraph, though it seems corresponds to Bash more than this article. According to this stackoverflow thread, a bash environment spawn by terminal simulator like gnome-terminal will shouldn't be a login shell, since it has nothing to do with "login" in to this system. However, after some experiments, I found that a new page of gnome-terminal sources both configuration files. That is to say, either the paragraph

/etc/bash.bashrc: System-wide settings; sourced only by a login shell
~/.bashrc: Personal shell settings; sourced only by an interactive shell

or the stackoverflow thread is wrong. Which is the correct one?

Thanks for any response.

BTW, I am new to contribute to ArchWiki. If I do anything wrong or not good, please let me know. Many thanks!

--NonerKao (talk) 09:47, 20 October 2015 (UTC)

The line on /etc/bash.bashrc is completely wrong; the correct behaviour is described in Bash#Configuration files. I'm just going to remove it since it's a duplicate anyway. -- Alad (talk) 12:17, 20 October 2015 (UTC)
Done. [1] -- Alad (talk) 12:22, 20 October 2015 (UTC)
Anything else, or can this be closed? -- Alad (talk) 11:51, 18 November 2015 (UTC)
Everything good now! Thanks!--NonerKao (talk) 14:42, 18 November 2015 (UTC)

Optional dependencies

It may be a good idea to add a mention on optional dependencies in Help:Reading#Installation of packages, as articles implicitly assume users are aware of them, and link to PKGBUILD#optdepends. -- Alad (talk) 11:54, 18 November 2015 (UTC)