From a126029a240e3d18a69eccd797d9b4656c2e1760 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 6 Jul 2009 07:14:04 +0200 Subject: added Option.bookmark_file --- code/fm.rb | 2 +- ranger.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/fm.rb b/code/fm.rb index 0f2893b3..6db5a85e 100644 --- a/code/fm.rb +++ b/code/fm.rb @@ -48,7 +48,7 @@ module Fm } # Read the .rangerrc - @rangerrc = File.expand_path('~/.rangerrc') + @rangerrc = File.expand_path(Option.bookmark_file) if (File.exists?(@rangerrc)) content = File.read(@rangerrc) unless content.empty? diff --git a/ranger.rb b/ranger.rb index f668d053..6aa75a9e 100755 --- a/ranger.rb +++ b/ranger.rb @@ -36,6 +36,7 @@ opt = { :sort_reverse => false, :cd => ARGV.include?('--cd'), :colorscheme => true, + :bookmark_file => '~/.ranger_bookmarks', :ascii_only => true, :wide_bar => true, :confirm_string => "yes I am!", -- cgit 1.4.1-2-gfad0