You are not logged in.

#1 2020-02-27 18:54:15

aris997
Member
Registered: 2020-02-25
Posts: 7

[SOLVED] Tab autocomplete not working on zsh

I've installed zsh replacing bash and added oh-my-zsh with the plugins git and zsh-autosuggestions. These works fine (I suppose) but there is this annoying situoation: if I press <tab> does like a textediting tab and that's not what I want.

 
~  ls .cols .config/
GIMP/           aurman/         dconf/          htop/           menus/          picom/          rofi/           xfce4/                                                    
QtProject.conf  cef_user_data/  gtk-2.0/        i3/             mimeapps.list   pulse/          termite/        yay/                                                      
Thunar/         chromium/       gtk-3.0/        i3status/       neofetch/       redshift.conf   vlc/            zathura/  

I did't misspelled confing, I pressed "ls .co<tab>" and the result is "ls .cols .config/". The first four characters can't be backspaced.


This is .zshrc config file

export ZSH="/home/riccardo/.oh-my-zsh"

ZSH_THEME="agnoster"

plugins=(
    git
    zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh

I also checked the i3 .config and there is no key binding with <tab>.

Last edited by aris997 (2020-02-27 21:07:20)


The best way to predict the future is to invent it. Alan Kay

Offline

#2 2020-02-27 19:06:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Tab autocomplete not working on zsh

And if you remove the abomination that is OMZ it all works fine?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-02-27 19:08:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: [SOLVED] Tab autocomplete not working on zsh

Don't use OMZ, it's a broken pile of junk and the source of nothing but problems.

Mod note: Moving to AUR Issues.

Last edited by WorMzy (2020-02-27 19:11:10)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-02-27 19:49:10

aris997
Member
Registered: 2020-02-25
Posts: 7

Re: [SOLVED] Tab autocomplete not working on zsh

If I remove OMZ the problem vanish, so the hint is don't use OMZ

Last edited by aris997 (2020-02-27 19:49:28)


The best way to predict the future is to invent it. Alan Kay

Offline

#5 2020-02-27 19:58:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Tab autocomplete not working on zsh

aris997 wrote:

If I remove OMZ the problem vanish, so the hint is don't use OMZ

Not so much a hint, as a flashing billboard with sirens attached to it... smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2020-02-27 20:03:59

aris997
Member
Registered: 2020-02-25
Posts: 7

Re: [SOLVED] Tab autocomplete not working on zsh

Okay already removed! Thanks! big_smile


The best way to predict the future is to invent it. Alan Kay

Offline

#7 2020-02-27 20:06:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Tab autocomplete not working on zsh

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2020-02-27 21:08:44

aris997
Member
Registered: 2020-02-25
Posts: 7

Re: [SOLVED] Tab autocomplete not working on zsh

[technical question about forum] Does I have to do something to close this thread?


The best way to predict the future is to invent it. Alan Kay

Offline

#9 2020-02-27 21:24:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Tab autocomplete not working on zsh

No, closed threads are those that are locked by the staff. You just mark it solved and call it good.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB