Skip to content

feature: unlink command #14

Description

@KutnerUri

it's possible to change the name of the bit command, for example:

bvm config set DEFAULT_LINK bbiitt
bvm link
# command bbiitt is now available

after which, there is not way to remove the old command.
it should be as simple as

rm `which $OLD_COMMAND_NAME`

additionally, we should prompt the user with a hint to remove the old link, like

❯ bvm config set DEFAULT_LINK bbiitt
❯ bvm install
# ...
❯ bvm config set DEFAULT_LINK bit
❯ bvm link
name bit points to version 0.0.406
successfully linked binaries
use `bvm unlink bbiitt` to remove old command
# or
rm `which bbiitt` to remove old command

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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