Skip to content

Description of aliases and functions are being duplicated #91

Description

@delucca

Desired behaviour

When I create the following alias inside a desk:

# Tmux shortcut
alias t="tmux"

And add, to the same desk, the following function:

# Do something cool
function tns() {
   ...
}

I would to receive the following output when type desk (with the desk loaded)

global - Common shared configurations

  t     Tmux shortcut
  tns   Do something cool

Actual behaviour

When I do that, I receive:

global - Common shared configurations

  t     Tmux shortcut
# Do something cool Do something cool
  tns   Do something cool

Aditional info

I've noticed that this only happens with aliases that has a high similarity with functions.

For example, I have a k alias and a kl alias. This won't happen. But if I have a k alias and a kl function this happens.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions