[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 3 Sep, 2013, at 12:19 pm, Gordon Henderson wrote:
Curiously enough it doesn't work for me.gordon @ yakko: alias up 'cd `pwd | sed \'s|\(.*/\!:1/\).*|\1| \'`'Unmatched `.
Interesting. Let's see, possible root causes.Are you invoking your shell as 'csh' (or '-csh') instead of as 'tcsh'? I think this might make a difference to syntax parsing, even if it's the same binary running.
Is the 'complete' stanza accepted?Does doubling up the escaping of the nested single-quotes (around the sed recipe) work? Changing the sed recipe's internal delimiters from pipe to something else? Double-escaping the !:1? Do you still have any will to live?
default alias? Are there? I guess I've been using the same .cshrc for the past 20+ years, so might have missed that.
Probably Simon & I are both using the dot-tcshrc project's suite of 'default' config files, or did at some point. (I've got some solaris keybinding commits in there. Yeah, that's how leet I am).
-- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq