zsh-users
 help / color / mirror / code / Atom feed
* Returning last parameter of a history command
@ 2006-09-22 13:59 zzapper
  2006-09-22 14:57 ` Peter Stephenson
  2006-09-22 16:48 ` Roman Neuhauser
  0 siblings, 2 replies; 4+ messages in thread
From: zzapper @ 2006-09-22 13:59 UTC (permalink / raw)
  To: zsh-users

Hi

how should this done in zsh-speak

history -n -1|sed 's/^.* //

Where the sed returns the last parameter

-- 
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-23 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-22 13:59 Returning last parameter of a history command zzapper
2006-09-22 14:57 ` Peter Stephenson
2006-09-23 10:23   ` zzapper
2006-09-22 16:48 ` Roman Neuhauser

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).