Compare commits
No commits in common. "fca25649878b6200b107e47cacb9312a9444db0e" and "9cce357dd07073fcd4455e8969ca17ab24eb8119" have entirely different histories.
fca2564987
...
9cce357dd0
2 changed files with 0 additions and 8 deletions
|
@ -98,7 +98,6 @@ module GX
|
||||||
when Config::Mode::ShowVersion
|
when Config::Mode::ShowVersion
|
||||||
STDOUT.puts "#{PROGRAM_NAME} #{VERSION}"
|
STDOUT.puts "#{PROGRAM_NAME} #{VERSION}"
|
||||||
when Config::Mode::Mount
|
when Config::Mode::Mount
|
||||||
@config.load_from_env
|
|
||||||
@config.load_from_file
|
@config.load_from_file
|
||||||
filesystem = choose_filesystem
|
filesystem = choose_filesystem
|
||||||
raise Models::InvalidFilesystemError.new("Invalid filesystem") if filesystem.nil?
|
raise Models::InvalidFilesystemError.new("Invalid filesystem") if filesystem.nil?
|
||||||
|
|
|
@ -72,13 +72,6 @@ module GX
|
||||||
raise MissingFileError.new("Configuration file not found")
|
raise MissingFileError.new("Configuration file not found")
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_from_env()
|
|
||||||
if !ENV["FZF_DEFAULT_OPTS"]?
|
|
||||||
# force defaults settings if none defined
|
|
||||||
ENV["FZF_DEFAULT_OPTS"] = "--height 40% --layout=reverse --border"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def load_from_file
|
def load_from_file
|
||||||
config_path = @path
|
config_path = @path
|
||||||
if config_path.nil?
|
if config_path.nil?
|
||||||
|
|
Loading…
Reference in a new issue