Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459676 Details for
Bug 578826
env-update support for app-shells/fish
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/profile.env parser for fish
profile-env.fish (text/plain), 680 bytes, created by
Georgy Yakovlev
on 2017-01-12 05:35:01 UTC
(
hide
)
Description:
/etc/profile.env parser for fish
Filename:
MIME Type:
Creator:
Georgy Yakovlev
Created:
2017-01-12 05:35:01 UTC
Size:
680 bytes
patch
obsolete
># since fish supports export via upstream provided function ># we can source directly, only ommiting $PATH and comments. >egrep -v "#|PATH|ROOTPATH" /etc/profile.env | source > ># strip unneded stuff from bash export lines ># apply paths ># and cleanup >if [ "$EUID" = "0" ] ; or [ "$USER" = "root" ] > set _rootpath (egrep " ROOTPATH" /etc/profile.env | sed "s/export PATH=//;s/:/\n/g;s/'//g") > set -xg PATH /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin $_rootpath > set -e _rootpath >else > set _userpath (egrep " PATH" /etc/profile.env | sed "s/export PATH=//;s/:/\n/g;s/'//g") > set -xg PATH /usr/local/bin /usr/bin /bin $_userpath > set -e _userpath >end > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 578826
:
429476
|
429478
|
429480
|
436018
|
437932
|
438830
|
438832
|
459674
| 459676