Skip to content

A potential error with nbdev_release_gh #1240

@kanglcn

Description

@kanglcn

I am trying to make a release to github with nbdev_release_gh:

(rapids-22.10) [kangl@p031]/home/kangl/codes/sott/nbs% nbdev_release_gh
Traceback (most recent call last):
......
FileNotFoundError: [Errno 2] No such file or directory: '~/bin/nvim.appimage'

In fact, this file exists:

(rapids-22.10) [kangl@p031]/home/kangl/codes/sott/nbs% ls -al ~/bin/nvim.appimage 
-rwxr-xr-x 1 kangl kangl 14644416 Dec 14  2021 /users/kangl/bin/nvim.appimage

However, after editing my zshrc file from

export VISUAL="~/bin/nvim.appimage";                                 
export EDITOR="~/bin/nvim.appimage";

to

export VISUAL="/users/kangl/bin/nvim.appimage";                                 
export EDITOR="/users/kangl/bin/nvim.appimage";

It works.

It looks like this command doesn't understand ~.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions