Timeline for Non-interactive shell expand alias
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 29, 2017 at 23:15 | comment | added | erik258 |
probably the .bashrc file was not being sourced by default.
|
|
| Sep 28, 2014 at 15:22 | history | migrated | from serverfault.com (revisions) | ||
| Sep 24, 2014 at 7:28 | comment | added | Matt |
Yeah, see the .bashrc in my question. I see the echo line but shopt does show it as off. Maybe there's just some weird server setting that's preventing this, I don't know. I've got a workaround
|
|
| Sep 23, 2014 at 14:44 | comment | added | crimson-egret |
@Matt I'm not sure the order of 'events', but did you try making sure the shopt -s expand_aliases is in your .bashrc before the aliases? Certainly, your output in the question shows expand_aliases is off.
|
|
| Sep 19, 2014 at 17:19 | vote | accept | Matt | ||
| Sep 19, 2014 at 17:19 | comment | added | Matt |
I do have shopt -s expand_aliases in my .bashrc, but that doesn't seem to work. I'm not sure why not, but I guess this would be the answer normally
|
|
| Sep 19, 2014 at 14:33 | history | answered | crimson-egret | CC BY-SA 3.0 |