Re: [dev] script for launching surf

2015-03-03 Thread Martti Kühne
On Tue, Mar 3, 2015 at 10:14 PM, Greg Reagle wrote: > "/usr/local/bin/surf" is a lot of typing compared to "surf". > There's probably a command builtin for your shell. However if you're saving typing inside a launcher script you write, you might be saving it in the wrong place. This whole discu

Re: [dev] script for launching surf

2015-03-03 Thread Greg Reagle
On Tue, Mar 3, 2015, at 04:04 PM, Raphaël Proust wrote: > Why do you call it `mysurf` instead of just `surf`? Because it's not the same as surf. It behaves differently than surf. > (You could still > launch the original surf using /usr/bin/surf or whatever is > appropriate on your system.) "/us

Re: [dev] script for launching surf

2015-03-03 Thread Raphaël Proust
On Tue, Mar 3, 2015 at 7:19 PM, Greg Reagle wrote: > Here is the script I use to launch surf called mysurf: > […] > I don't launch surf directly Why do you call it `mysurf` instead of just `surf`? (You could still launch the original surf using /usr/bin/surf or whatever is appropriate on your sys

[dev] script for launching surf

2015-03-03 Thread Greg Reagle
I am presenting this in case you find it interesting, useful, or instructive, or for any constructive criticism so I can learn more. Here is the script I use to launch surf called mysurf: #!/bin/sh cd ~/downloads exec surf "$@" 2>>surf-stder >>surf-stdout I don't launch surf directly because: I