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

Variable $__done_notification_transient is used but is not defined #117

Closed
frazar opened this issue Sep 30, 2021 · 1 comment · Fixed by #118
Closed

Variable $__done_notification_transient is used but is not defined #117

frazar opened this issue Sep 30, 2021 · 1 comment · Fixed by #118

Comments

@frazar
Copy link
Contributor

frazar commented Sep 30, 2021

On a clean installation, I'm getting the following error with v1.6.4.

frazar@hostname> sleep 6
Argument is not a number: ''
/etc/fish/conf.d/done.fish (line 261):
                if test "$__done_notification_transient" -eq 1
                   ^
in function '_done_ended'
in event handler: handler for generic event 'fish_prompt'
No summary specified.

I believe it's because, by default, the __done_notification_transient variable is not defined. Indeed, said variable is defined, no error occurs.

frazar@hostname> set -U __done_notification_transient "0"
frazar@hostname> sleep 6
No summary specified.
@VergeDX
Copy link

VergeDX commented Oct 3, 2021

Same issues here, NixOS 21.05.

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

Successfully merging a pull request may close this issue.

2 participants