diff options
-rw-r--r-- | code/fm.rb | 2 | ||||
-rwxr-xr-x | ranger.rb | 1 |
2 files changed, 2 insertions, 1 deletions
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!", |