[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
history substitution with "dashed" commands : !my-commadn
From: |
Sukolyn Ljubljana |
Subject: |
history substitution with "dashed" commands : !my-commadn |
Date: |
Thu, 28 Nov 2019 13:38:53 +0000 (UTC) |
hi,
i'm trying to do history substitution with command which name contains a dash,
$ my-func() { echo $FUNCNAME;}$ my-funcmy-func$ !my-f-bash: f: command not
found$ !my-f:s/ion/blah/f:s/ion/blah/-bash: f:s/ion/blah/: No such file or
directory
is there anything to do to succeed history substitutions with such commands ?
- history substitution with "dashed" commands : !my-commadn,
Sukolyn Ljubljana <=