Skip to content

Shortcuts that are symlinks are dereferenced #59

Open
@Cigaes

Description

Problem description

When a shortcut is a symlink, it is shown it is own name in the list to create the widget, but then the actual shortcut uses the target of the symlink.

Steps to reproduce

  1. Create .shortcuts/host1 with basically ssh $0.
  2. ln -s host1 host2
  3. Browse to add a widget, select host2 in the list.
  4. Use the new widget.

Expected behavior

I would expect a widget named host2 that ssh me to host2. Instead, I get a widget named host1 that ssh me to host1.

Additional information

  • Termux application version: 0.117
  • Termux:Widget version: 0.13.0
  • Android OS version: 7.1.1

It used to work with Termux:Widget 0.12. I had to re-create all widgets after recently upgrading to 0.13.

Activity

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

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