Ensure aliases are understood in all functions and scripts.
This commit is contained in:
parent
2c6c4fee25
commit
79050c8ba6
@ -172,6 +172,7 @@
|
|||||||
unset goodbye
|
unset goodbye
|
||||||
unset only_sys
|
unset only_sys
|
||||||
unset only_flat
|
unset only_flat
|
||||||
|
|
||||||
while getopts ":hygsf" opt; do
|
while getopts ":hygsf" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
h) echo -e "$usage"
|
h) echo -e "$usage"
|
||||||
@ -588,6 +589,8 @@
|
|||||||
- name: General | Account Management | Users | Files | Common Variable
|
- name: General | Account Management | Users | Files | Common Variable
|
||||||
set_fact:
|
set_fact:
|
||||||
rc_common: |
|
rc_common: |
|
||||||
|
# Fixes "command not found" when using aliases within functions.
|
||||||
|
shopt -s expand_aliases
|
||||||
{{ export_path_additions }}
|
{{ export_path_additions }}
|
||||||
{{ alias_cp }}
|
{{ alias_cp }}
|
||||||
{{ alias_mv }}
|
{{ alias_mv }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user