8000 Use $HOME or ~ in $HOME/.zim/init.zsh · Issue #509 · zimfw/zimfw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use $HOME or ~ in $HOME/.zim/init.zsh #509
Closed
@markfaine

Description

@markfaine

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I sometimes load a docker container with my home directory mounted. In the container, it's a different user, though mapped to my UID, however, because /home/username is hard-coded into init.zsh , it results in a bunch of errors when zsh loads zim in the container.
I've worked around it by replace /home/username with $HOME, however, I have to do this anytime zimfw runs because it reverts my changes.

Describe the solution you'd like
Replace the path to the user's home directory with $HOME in init.zsh

Describe alternatives you've considered
I guess since it's not quoted ~ works just as well, though I think $HOME is probably a better choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0