Skip to content

Commit

Permalink
Fix browser opening in *nix; fixes copiousfreetimegh-22, copiousfreet…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtorrent committed Jul 17, 2011
1 parent b27bc8e commit 17c9c8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/launchy/applications/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def darwin_app_list
end

def nix_app_list
nix_de = Launchy::Detect::NixDekstopEnvironment.browser
nix_de = Launchy::Detect::NixDesktopEnvironment.detect
app_list = %w[ xdg-open ]
app_list << nix_de.browser
app_list << nix_de.fallback_browsers
Expand Down
2 changes: 1 addition & 1 deletion lib/launchy/detect/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def self.detect
def shell_commands( cmd, args )
cmdline = [ cmd.shellsplit ]
cmdline << args.collect{ |a| a.to_s.shellescape }
return commanddline_normalize( cmdline )
return commandline_normalize( cmdline )
end

def commandline_normalize( cmdline )
Expand Down

0 comments on commit 17c9c8a

Please sign in to comment.