Re: [Yafc-devel] new command suggestion
Brought to you by:
mhe,
splicednetworks
From: Martin H. <mh...@ho...> - 2002-12-22 08:44:02
|
Alternatively, you could put the following in your ~/.yafc/yafcrc: alias pcd "lcd %*; cd %*" /martin On Sun, 22 Dec 2002 01:29:50 -0500, scott prince <sp...@ra...> wrote: > This saves me a lot of keystrokes ... > > > # diff yafc-1.0/src/commands.h b/commands.h > 151a152 > > DEFCMD(pcd); > > > # diff yafc-1.0/src/commands.c b/commands.c > 47a48 > > CMD(pcd, 0,0,1, cpLocalFile), > > > # diff yafc-1.0/src/local.c b/local.c > 77a78,84 > > /* parallel change directory */ > > void cmd_pcd(int argc, char **argv) > > { > > cmd_lcd(argc, argv); > > cmd_cd(argc, argv); > > } > > -- Martin Hedenfalk <mh...@ho...> Horngren's Observation: (generalized) The real world is a special case. |