Skip to content
Snippets Groups Projects
Commit af7f46a7 authored by Fredrik Noring's avatar Fredrik Noring
Browse files

New cool stuff.

Rev: NT/init_nt:1.27
parent e4b225fe
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# Support local settings. # Support local settings.
if [ -f "$HOME/.init_ntrc" ]; then INIT_NTRC=${INIT_NTRC-"$HOME/.init_ntrc"}
. "$HOME/.init_ntrc" if [ -f "$INIT_NTRC" ]; then
. "$INIT_NTRC"
fi fi
#This can be 'sprsh', 'wine' or 'cygwin' #This can be 'sprsh', 'wine' or 'cygwin'
...@@ -154,22 +155,27 @@ export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE ...@@ -154,22 +155,27 @@ export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE
export NTPORT USE_SPRSH NTMOUNT IFS REMOTE_METHOD watcom INCLUDE export NTPORT USE_SPRSH NTMOUNT IFS REMOTE_METHOD watcom INCLUDE
export NT_TOOL_PATH NTCOMPILER PIKE_PATH_TRANSLATE export NT_TOOL_PATH NTCOMPILER PIKE_PATH_TRANSLATE
case /$SHELL-$TERM in if [ "$#" = "0" ]; then
*/bash-xterm) case /$SHELL-$TERM in
PROMPT_COMMAND="echo -n ]2\; $REMOTE_METHOD NT compile ]1\; $CC" */bash-xterm)
export PROMPT_COMMAND PROMPT_COMMAND="echo -n ]2\; $REMOTE_METHOD NT compile ]1\; $CC"
;; export PROMPT_COMMAND
esac ;;
esac
case /$0 in
*/init_nt)
case /$SHELL in
*/bash)
exec $SHELL -rcfile $NT_TOOL_PATH/bash-fixup
;;
*)
exec $SHELL
;;
esac
;;
esac
else
exec "$@"
fi
case /$0 in
*/init_nt)
case /$SHELL in
*/bash)
exec $SHELL -rcfile $NT_TOOL_PATH/bash-fixup
;;
*)
exec $SHELL
;;
esac
;;
esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment