Calling cd (a builtin) from an alias
Created by: anxiousmodernman
In zsh I often create this alias to u to jump to my parent directory:
alias u="cd .."
I've tried a few variants in ion, but I can't get it to work. My guess is that alias executes a subprocess that has state independent of the parent process (the current shell).
#409 has exec
on the TODO list. Is exec the blocker to doing something like this in ion? A related design question might be: after exec is implemented, should all aliases be exec
'd? E.g., aliases would be more like a macro that replaces characters and can modify the running shell's state.