Skip to content

profile: append manpath for default profile - #783

Closed
LnL7 wants to merge 1 commit into
NixOS:masterfrom
LnL7:profile-manpath
Closed

LnL7 wants to merge 1 commit into
NixOS:masterfrom
LnL7:profile-manpath

Conversation

@LnL7

@LnL7 LnL7 commented Jan 29, 2016

Copy link
Copy Markdown
Member

No description provided.

@domenkozar

Copy link
Copy Markdown
Member

See #229, we should only set it if it already exists

@LnL7

LnL7 commented Feb 1, 2016

Copy link
Copy Markdown
Member Author

This should fix any issues with duplicates

@edolstra

edolstra commented Feb 1, 2016

Copy link
Copy Markdown
Member

This still doesn't check whether $MANPATH is already set. We don't want to mess with $MANPATH if it's unset, because that screws up the default man search path (which is derived from $PATH).

@domenkozar

Copy link
Copy Markdown
Member

Yes, we should check if $MANPATH has any value (instead of current implementation where it check if it already has the value we're expending it to)

@LnL7

LnL7 commented Feb 4, 2016

Copy link
Copy Markdown
Member Author

The issue with that approach is that $MANPATH probably won't be empty on other platforms, where this will be most useful. What about checking uname -a?

@domenkozar

Copy link
Copy Markdown
Member

We should append only if it's already set.

@domenkozar domenkozar mentioned this pull request Jul 29, 2016
@domenkozar

Copy link
Copy Markdown
Member

Closing in favor of #1005

@domenkozar domenkozar closed this Jul 29, 2016
zolodev pushed a commit to zolodev/nix that referenced this pull request Jan 1, 2024
CertainLach pushed a commit to deltarocks/nix that referenced this pull request Nov 18, 2026
…hide-cursor

Crash handler: Make the cursor visible again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants