zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: karpi <karpi.lists@email.cz>, zsh-users@sunsite.dk
Subject: Re: history-search + a few new user question
Date: Mon, 05 Dec 2005 06:35:32 +0000	[thread overview]
Message-ID: <1051205063532.ZM22228@candle.brasslantern.com> (raw)
In-Reply-To: <20051204162658.GA17541@alnagon.localnet.cz>

On Dec 4,  5:26pm, karpi wrote:
} 
} Hello, Ive just try switch from bash.

You might want to look at

    autoload -U select-word-style
    select-word-style bash

and

    bashcompinit

I believe these are all mentioned in the manual.

} 1) At first there was my mostly touched function:
} -type some chars, which command begins, and then call completation from
} history.

Do you want words from the history completed, or entire lines from the
history found?  The term "completion" usually means individual words,
not whole lines.

I suspect what you want is history-beginning-search-* as Christian T.
already suggested.  However, also look for history-search-end in the
"ZLE Functions" section of "User Contributions" chapter in the manual.

} 2) some way to set "ignorerece" so

"rece"?  Hmm, must be Czech?

However, I see what you're getting at, and the answer is no, there is
not in general a way to make zsh behave that way unless the underlying
filesystem does so (like in cygwin).

} cd downloads
} interprets as too
} cd DownLoads 

For specific cases, such as "cd", you can fix it:

    function cd {
	emulate -LR zsh
	setopt extendedglob nonomatch
	local -a opts
	zparseopts -D -a opts s L P
	if [[ $# -eq 2 ]]
	then builtin cd $opts $1 $2
	else builtin cd $opts (#i)$*
	fi
    }

} 3) Some way to colorize wrong symliks differently from good pointed
} symlinks (for example cyan-good/red-bad like gentoo default bash setting)? 

Look in the manual for "The zsh/complist Module".

} 3) when I press Alt-backspace, cursor deletes all path. Is possible it
} deletes only part of path limited by "/"

See "select-word-style bash" as mentioned above.


  parent reply	other threads:[~2005-12-05  6:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-04 16:26 karpi
2005-12-04 17:15 ` Christian Taylor
2005-12-04 17:49 ` Julius Plenz
2005-12-05  6:35 ` Bart Schaefer [this message]
2005-12-05 10:30   ` Peter Stephenson
2005-12-05  6:41 ` Thor Andreassen
2005-12-05 11:22 ` karpi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1051205063532.ZM22228@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=karpi.lists@email.cz \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).