2017-08-05 02:01:39 +08:00
|
|
|
logmsg Avoid regressions of issue \#3860 wherein the first word of the alias ends with a semicolon
|
2017-02-21 12:23:55 +08:00
|
|
|
function foo
|
|
|
|
echo ran foo
|
|
|
|
end
|
|
|
|
alias my_alias "foo; and echo foo ran"
|
|
|
|
my_alias
|
2017-07-16 08:36:36 +08:00
|
|
|
|
|
|
|
alias a-2='echo "hello there"'
|
|
|
|
|
2017-08-05 02:01:39 +08:00
|
|
|
logmsg Bare `alias` should list the aliases we have created and nothing else
|
2017-07-16 08:36:36 +08:00
|
|
|
# We have to exclude two aliases because they're an artifact of the unit test
|
|
|
|
# framework and we can't predict the definition.
|
|
|
|
alias | grep -Ev '^alias (fish_indent|fish_key_reader) '
|