shell-network/ssh/session/interactive

5 lines
172 B
Plaintext

if [[ $- == *i* ]]; then
# anything here will be executed, changing to a directory
# note anything to stdout here may make rsync and other network commands fail
#cd /opt
fi