diff options
author | hut <hut@lavabit.com> | 2009-07-06 07:14:04 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-06 07:14:04 +0200 |
commit | a126029a240e3d18a69eccd797d9b4656c2e1760 (patch) | |
tree | 8e9b03cf63283d2a9323085a69ce2bf74d4d41c3 | |
parent | bc09d63e676b87953bf6c323a13c20736aad3d5d (diff) | |
download | ranger-a126029a240e3d18a69eccd797d9b4656c2e1760.tar.gz |
added Option.bookmark_file
-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!", |