Timeline for In Bash, when to alias, when to script and when to write a function?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 24, 2024 at 12:54 | comment | added | F. Hauri - Give Up GitHub |
bash won't expand aliases in non-interactive mode, unless expand_aliases is set:bash -c $'shopt -s expand_aliases;alias aa="echo Another Alias"\naa'.
|
|
| Oct 3, 2015 at 20:25 | history | answered | leden | CC BY-SA 3.0 |