LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2013, 05:33 PM   #1
nitnelave
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
zsh autocompletion problem with multi-line prompt


Hello everyone!

I'm using zsh, with oh-my-zsh, on a CrunchBang machine (light-weight debian).
I have a prompt that spans 2 lines in zsh, and whenever I do some auto-completion, it deletes a line from the displayed history.
For example, befor the completion I have

┌─(~)─────────────────────────────────────────────────────────────────┐
└──> vim foobar
┌─(~)─────────────────────────────────────────────────────────────────┐
└──> vim .z

And after I have

┌─(~)─────────────────────────────────────────────────────────────────┐
┌─(~)─────────────────────────────────────────────────────────────────┐
└──> vim .zshrc

my prompt config looks like this:
http://pastie.org/private/fiqdw5x4dkbpozvi1r8ug

So, any idea why it does that, and how to fix this?

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with zsh prompt ! Mony Linux - Newbie 3 04-10-2013 03:33 PM
ZSH - Enabling autocompletion messes up vi-history search Vryali Linux - Newbie 1 09-01-2011 11:57 AM
zsh prompt : jobs shell wiliamvw Linux - Software 3 05-11-2011 09:25 AM
Zsh: Help Setting Prompt, Please CoderMan Linux - Software 1 02-05-2010 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration