diff --git a/NT/init_nt b/NT/init_nt
index 2cd798f0d4b7cabca605856ba1b2b16847ac0b95..50e3749061c92a4902609bdef6759b3d4206c8d8 100755
--- a/NT/init_nt
+++ b/NT/init_nt
@@ -37,6 +37,7 @@ export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE NTPORT USE_SPRS
 
 case x$SHELL-$TERM in
    */bash-xterm)
-     export PROMPT_COMMAND="echo -n ]2\; Remote NT compile ]1\; rntcc"
+     PROMPT_COMMAND="echo -n ]2\; Remote NT compile ]1\; rntcc"
+     export PROMPT_COMMAND
    ;;
-esac
\ No newline at end of file
+esac