Comment by jakub_g 6 years ago When you override a bash built-in like `cd` with an alias, `command` is the only option. 1 comment jakub_g Reply dredmorbius 6 years ago Fair point.Is there an alternate mechanism for invoking a shell's built-ins externally? Obviously for state-changing operations such as 'cd' that's of limited use. $SHELL -c '<commands>' Comes to mind. Though likely bypassing initialisations might be useful.
dredmorbius 6 years ago Fair point.Is there an alternate mechanism for invoking a shell's built-ins externally? Obviously for state-changing operations such as 'cd' that's of limited use. $SHELL -c '<commands>' Comes to mind. Though likely bypassing initialisations might be useful.
Fair point.
Is there an alternate mechanism for invoking a shell's built-ins externally? Obviously for state-changing operations such as 'cd' that's of limited use.
Comes to mind. Though likely bypassing initialisations might be useful.