Mageia Bugzilla – Attachment 4685 Details for
Bug 11015
[MC] bash aliases not available on cmdline
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to fix the problem.
mageia-mc-pkg-fix-bashrc-bug.diff (text/plain), 417 bytes, created by
Shlomi Fish
on 2013-12-30 11:34:42 CET
(
hide
)
Description:
Patch to fix the problem.
Filename:
MIME Type:
Creator:
Shlomi Fish
Created:
2013-12-30 11:34:42 CET
Size:
417 bytes
patch
obsolete
>Index: SOURCES/mc-bashrc >=================================================================== >--- SOURCES/mc-bashrc (revision 563258) >+++ SOURCES/mc-bashrc (working copy) >@@ -2,6 +2,10 @@ > # history option set to ignoreboth > # Bug 1304 > >-. /etc/bashrc >+if test -e "$HOME/.bashrc" ; then >+ . "$HOME/.bashrc" >+else >+ . /etc/bashrc >+fi > >-HISTCONTROL=ignoreboth >\ No newline at end of file >+HISTCONTROL=ignoreboth
Index: SOURCES/mc-bashrc =================================================================== --- SOURCES/mc-bashrc (revision 563258) +++ SOURCES/mc-bashrc (working copy) @@ -2,6 +2,10 @@ # history option set to ignoreboth # Bug 1304 -. /etc/bashrc +if test -e "$HOME/.bashrc" ; then + . "$HOME/.bashrc" +else + . /etc/bashrc +fi -HISTCONTROL=ignoreboth \ No newline at end of file +HISTCONTROL=ignoreboth
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11015
:
4263
| 4685