Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 460670 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]
[patch]
setenv with PATH compatibility
setenv.patch (text/plain), 444 bytes, created by
Wilke Schwiedop
on 2017-01-19 22:45:33 UTC
(
hide
)
Description:
setenv with PATH compatibility
Filename:
MIME Type:
Creator:
Wilke Schwiedop
Created:
2017-01-19 22:45:33 UTC
Size:
444 bytes
patch
obsolete
>diff --git a/share/functions/setenv.fish b/share/functions/setenv.fish >index 23cc947..7de4a33 100644 >--- a/share/functions/setenv.fish >+++ b/share/functions/setenv.fish >@@ -1,4 +1,8 @@ > > function setenv --description 'Set global variable. Alias for set -g, made for csh compatibility' >- set -gx $argv >+ if string match -q PATH -- $argv[1] >+ set -gx (string replace -a : \n -- $argv) >+ else >+ set -gx $argv >+ end > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 545830
:
459678
|
459680
|
460236
|
460238
|
460240
|
460242
|
460358
|
460452
|
460480
|
460482
| 460670 |
460672