2017-08-04 18:01:39 +00:00
|
|
|
logmsg Avoid regressions of issue \#3860 wherein the first word of the alias ends with a semicolon
|
2017-02-21 04:23:55 +00:00
|
|
|
function foo
|
|
|
|
echo ran foo
|
|
|
|
end
|
|
|
|
alias my_alias "foo; and echo foo ran"
|
|
|
|
my_alias
|
2017-07-16 00:36:36 +00:00
|
|
|
|
|
|
|
alias a-2='echo "hello there"'
|
|
|
|
|
2017-08-04 18:01:39 +00:00
|
|
|
logmsg Bare `alias` should list the aliases we have created and nothing else
|
2017-07-16 00:36:36 +00: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) '
|