- # EMACS is used by bash on startup, but we don't need it anymore.
- # plus I hit a bug in a makefile which inherited it
- unset EMACS
- export RLC_INSIDE_EMACS
- export PAGER=cat
- export MANPAGER=cat
- # scp completion does not work, but this doesn't fix it. todo, figure this out
- complete -r scp &> /dev/null
- # todo, remote file completion fails, figure out how to turn it off
- export NODE_DISABLE_COLORS=1
- # This get's rid of ugly terminal escape chars in node repl
- # sometime, I'd like to have completion working in emacs shell for node
- # the offending chars can be found in lib/readline.js,
- # things that do like:
- # stream.write('\x1b[' + (x + 1) + 'G');
- # We can remove them and keep readline, for example by doing this
- # to start a repl:
- #!/usr/bin/env nodejs
- # var readline = require('readline');
- # readline.cursorTo = function(a,b,c) {};
- # readline.clearScreenDown = function(a) {};
- # const repl = require('repl');
- # var replServer = repl.start('');
- #
- # no prompt, or else readline complete seems to be confused, based
- # on our column being different? node probably needs to send
- # different kind of escape sequence that is not ugly. Anyways,
- # completion doesn't work yet even with the ugly prompt, so whatever
- #
- export NODE_NO_READLINE=1
+ # EMACS is used by bash on startup, but we dont need it anymore.
+ # plus I hit a bug in a makefile which inherited it
+ unset EMACS
+ export RLC_INSIDE_EMACS
+ export PAGER=cat
+ export MANPAGER=cat
+ # scp completion does not work, but this doesnt fix it. todo, figure this out
+ complete -r scp &> /dev/null
+ # todo, remote file completion fails, figure out how to turn it off
+ export NODE_DISABLE_COLORS=1
+ # This gets rid of ugly terminal escape chars in node repl
+ # sometime, Id like to have completion working in emacs shell for node
+ # the offending chars can be found in lib/readline.js,
+ # things that do like:
+ # stream.write('\x1b[' + (x + 1) + 'G');
+ # We can remove them and keep readline, for example by doing this
+ # to start a repl:
+ #!/usr/bin/env nodejs
+ # var readline = require('readline');
+ # readline.cursorTo = function(a,b,c) {};
+ # readline.clearScreenDown = function(a) {};
+ # const repl = require('repl');
+ # var replServer = repl.start('');
+ #
+ # no prompt, or else readline complete seems to be confused, based
+ # on our column being different? node probably needs to send
+ # different kind of escape sequence that is not ugly. Anyways,
+ # completion doesnt work yet even with the ugly prompt, so whatever
+ #
+ export NODE_NO_READLINE=1