examples: execute bash sessions in script environment
Previously, the sessions contained only explicitly exported variables and functions. This was fragile and in part buggy due to lacking exports. Interactive features like user-defined aliases and functions are still working as before.
This commit is contained in:
@@ -91,6 +91,6 @@ echo "Node info:"
|
||||
c nodeinfo
|
||||
|
||||
# Uncomment to start a shell session here
|
||||
# export -f c; bash -li
|
||||
# . start-bash-session.sh
|
||||
|
||||
# Cleanup happens at exit (see above)
|
||||
|
||||
Reference in New Issue
Block a user