Extract commonshrc for bash