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

on Ubuntu 22.04 bindkeys -e must be set before loading this module for <s-tab> to work #7

Open
3 tasks done
Konfekt opened this issue May 21, 2024 · 4 comments
Open
3 tasks done
Labels

Comments

@Konfekt
Copy link

Konfekt commented May 21, 2024

Prerequisites

  • I've checked the existing issues and I'm not duplicating a report.
  • I've checked the zimfw Changelog and I'm not being affected by documented changes.
  • I've checked the zimfw 📢 Announcements and I'm not being affected by announced changes.

Bug description

On Ubuntu 22.04 bindkeys -e must be set before loading this module for to work;
otherwise <s-tab> does nothing;
it can be enabled with bindkey '^[[Z' reverse-menu-complete but this module usually does this.
It did not happen, say, on Opensuse 15.5

Steps to reproduce

On Ubuntu 22.04 set bindkeys -e after loading this module for to break

Current behavior

On Ubuntu 22.04 set bindkeys -e before loading this module makes work

Expected behavior

On Ubuntu 22.04 set bindkeys -e after loading this module lets work as on Opensuse 15.5

zimfw info

zimfw version:        1.13.1 (built at 2024-04-28 19:07:19 UTC, previous commit is c86223f)
LANG:                 it_IT.UTF-8
LC_TELEPHONE:         it_IT.UTF-8
LC_MEASUREMENT:       it_IT.UTF-8
LC_ADDRESS:           it_IT.UTF-8
LC_COLLATE:           C
LC_NAME:              it_IT.UTF-8
LC_NUMERIC:           it_IT.UTF-8
LC_IDENTIFICATION:    it_IT.UTF-8
LC_PAPER:             it_IT.UTF-8
LC_MONETARY:          it_IT.UTF-8
LC_TIME:              it_IT.UTF-8
LC_MESSAGES:          it_IT.UTF-8
LC_CTYPE:             it_IT.UTF-8
OSTYPE:               linux-gnu
TERM:                 rxvt-unicode-256color
TERM_PROGRAM:         
TERM_PROGRAM_VERSION: 
ZIM_HOME:             /home/konfekt/.config/.zim
ZSH_VERSION:          5.8.1

Additional context

No response

@Konfekt Konfekt added the bug label May 21, 2024
@ericbn
Copy link
Member

ericbn commented May 21, 2024

Ciao @Konfekt. The zshrc template in our automatic installation script does call bindkeys before initializing the modules. See https://github.com/zimfw/install/blob/30c5707a2e613aa388846caa9b2aee4ac20d6059/src/templates/zshrc#L22

Do you suggest we also mention this in this module’s README?

@Konfekt
Copy link
Author

Konfekt commented May 21, 2024

Yes, I somehow missed this, and I wondered why what worked fine on one Linux distrib no longer worked on another one

@Konfekt
Copy link
Author

Konfekt commented May 21, 2024

I would appreciate an idea how it could be that it worked in the first place, even if the set-up wasn't what it was meant to be

@Konfekt
Copy link
Author

Konfekt commented May 21, 2024

.. Well.. I think the solution is that the former distrib sets bindkey in /etc; for once that went well

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

No branches or pull requests

2 participants