Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description of aliases and functions are being duplicated #91

Open
delucca opened this issue Jan 16, 2020 · 0 comments
Open

Description of aliases and functions are being duplicated #91

delucca opened this issue Jan 16, 2020 · 0 comments

Comments

@delucca
Copy link

delucca commented Jan 16, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant