fish-shell/tests/alias.in
2017-08-04 11:02:11 -07:00

14 lines
475 B
Fish

logmsg Avoid regressions of issue \#3860 wherein the first word of the alias ends with a semicolon
function foo
echo ran foo
end
alias my_alias "foo; and echo foo ran"
my_alias
alias a-2='echo "hello there"'
logmsg Bare `alias` should list the aliases we have created and nothing else
# 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) '