Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 460358 Details for
Bug 545830
app-shells/fish - provide a way to load system-wide variables (profile.env) on start
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
profile.env parser using /bin/sh and /bin/env
somethingsomething.fish (text/plain), 414 bytes, created by
Wilke Schwiedop
on 2017-01-16 18:39:06 UTC
(
hide
)
Description:
profile.env parser using /bin/sh and /bin/env
Filename:
MIME Type:
Creator:
Wilke Schwiedop
Created:
2017-01-16 18:39:06 UTC
Size:
414 bytes
patch
obsolete
>#!/bin/fish > >if status --is-login > set -lx IFS = > env -i /bin/sh -c '. /etc/profile.env; /bin/env -0' | while read -z K V > set -gx $K $V > end > if [ "$EUID" = "0" ]; or [ "$USER" = "root" ] > set -gx PATH /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin (string replace -a -- : \n $ROOTPATH) > else > set -gx PATH /usr/local/bin /usr/bin /bin (string replace -a -- : \n $PATH) > end > set -e ROOTPATH >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 545830
:
459678
|
459680
|
460236
|
460238
|
460240
|
460242
|
460358
|
460452
|
460480
|
460482
|
460670
|
460672