Closed GiselleSerate closed 6 years ago
Note: alias ignores all quotes, so we can just delete all of those when getting what alias
saved the line as.
Further, an input containing $ behaves weirdly and breaks the nickname early. (I don't know if we should care terribly, because if you try putting special characters like that, you just won't be able to type the alias as you assigned it. You can't even call the alias with special characters normally.)
Finished, and remaining tasks split to other issues.
so here's a strategy that might work: pass the command to alias and then run
alias nickname
to get the line that alias assigned, and then write that straight to file.