Has anyone been using sshuttle with fish.
I ran into the following troubles.
fish: Unknown command “P=python2”. Did you mean “set P python2”? For
information on assigning values to variables, see the help section on the
set command by typing “help set”.
Standard input: P=python2; $P -V 2>/dev/null || P=python; exec "$P" -c
'import sys; skip_imports=1; verbosity=2; exec compile(sys.stdin.read(764),
"assembler.py", "exec")'
^
fish: Variables may not be used as commands. Instead, define a function.
See the help section for the function command by typing “help function”.
Standard input: P=python2; $P -V 2>/dev/null || P=python; exec "$P" -c
'import sys; skip_imports=1; verbosity=2; exec compile(sys.stdin.read(764),
"assembler.py", "exec")'
^
fish: Expected a command name, got token of type “Pipe”. Did you mean
“COMMAND; or COMMAND”? See the help section for the “or” builtin command by
typing “help or”.
Standard input: P=python2; $P -V 2>/dev/null || P=python; exec "$P" -c
'import sys; skip_imports=1; verbosity=2; exec compile(sys.stdin.read(764),
"assembler.py", "exec")'
^
c : fatal: server died with error code 127
-----------------------------------------------------------
I guess the codes were written with bash shell in mind.
Cos I can run sshuttle without a problem on a bash shell.
Thanks in advance
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users