about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-06 07:14:04 +0200
committerhut <hut@lavabit.com>2009-07-06 07:14:04 +0200
commita126029a240e3d18a69eccd797d9b4656c2e1760 (patch)
tree8e9b03cf63283d2a9323085a69ce2bf74d4d41c3
parentbc09d63e676b87953bf6c323a13c20736aad3d5d (diff)
downloadranger-a126029a240e3d18a69eccd797d9b4656c2e1760.tar.gz
added Option.bookmark_file
-rw-r--r--code/fm.rb2
-rwxr-xr-xranger.rb1
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!",
ref='#n154'>154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170