Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Delete last part of path
- X-seq: zsh-users 12255
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Delete last part of path
- Date: Thu, 29 Nov 2007 10:43:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/09v6I+INghU3kUD3dhrvAnlV7M1cola7Kl7KJXtFAw=; b=qRaNavOUmGI4EeunT49LCg2A6uoWcRzhwcu7/b7co2hNnJqY6GuF1SH9VGPTQEW1lMzpwp+oqIdNTGCsezZzEOe996kr7bMEBlwN4h6Yvg4piq2XJj+RkbYMMQan2bzK3/ICRsY8O8E6qMphc0uisfN527GbemfN+YlvUGzosvg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F31tccX+QU0iVQ2xL5RwfmY1fZwPiI1d1c2CHmMG8nJPYHA5JRyx2KewD8SnF0KnpmKqZzNN6CZ3st1e19Q7kzg1dHXfLzodbS2f2OEbraEdbjd5JoC8rr1z65sWHcVgypHNkGFbJoeAn67vOrCAd5QADpiSIyMhx/bMqNPx5rM=
- In-reply-to: <20071129091355.GA9899@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071129091355.GA9899@xxxxxxxxxx>
On 29/11/2007, tannhauser <tannhauser@xxxxxxxxxxxxx> wrote:
> Hello,
>
> this is the scenario:
> i typed
> % cd /home/example/one/
> and the cursor is at the end of the line. is there a shortcut to delete
> just the last part of the path (in this example "one/") ?
I think i got this from the list at some point, you want _backward-delete-to-/
http://mikachu.a.la/s/dot-delete-to
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author