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