Bug 29933 - Неправильное место для комментария про aliases and functions в .bashrc
Summary: Неправильное место для комментария про aliases and functions в .bashrc
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: etcskel (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 09:53 MSK by Sergey Y. Afonin
Modified: 2018-06-08 05:31 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2014-04-01 09:53:43 MSK
В .bashrc написано:

# User specific aliases and functions

# Source global definitions
if [ -r /etc/bashrc ]; then
        . /etc/bashrc
fi

Но про "User specific aliases and functions" - это же неправда. Они могут быть сброшены вызовом /etc/bashrc, если пользователь надеется перекрыть системные. Комментарий надо ниже вызова /etc/bashrc перенести.
Comment 1 Repository Robot 2018-06-08 05:31:59 MSK
etcskel-2.0.16-alt1 -> sisyphus:

Fri Jun 08 2018 Dmitry V. Levin <ldv@altlinux> 2.0.16-alt1
- .bash*: enhanced comments (closes: #29933).
- .bash_logout: invoke "clear" on linux terminals only.
- .ssh/config: new file with a comment.
- .ssh/authorized_keys: turn the comment into a proper sentence.
- .xprofile: added support for ~/.ssh/id_ecdsa and ~/.ssh/id_ed25519 files.