|
| From: | Robert Elz |
| Subject: | Re: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs |
| Date: | Tue, 23 Oct 2018 14:06:37 +0700 |
Date: Mon, 22 Oct 2018 09:37:19 -0400
From: Greg Wooledge <wooledg@eeg.ccf.org>
Message-ID: <20181022133719.g4wc7uuowwfffzv3@eeg.ccf.org>
| I occasionally run a command like mkdir /tmp/x && cd "$_"
cdnd()
{
mkdir -p "$1" && cd "$1"
}
Make it as fancy as you want. Interactively you're much more
likely to want !$ than $_ (I'd suggest infinitely more lijkely...)
kre
| [Prev in Thread] | Current Thread | [Next in Thread] |