Module: Echoes
- Defined in:
- lib/echoes.rb,
lib/echoes/gui.rb,
lib/echoes/tab.rb,
lib/echoes/cell.rb,
lib/echoes/objc.rb,
lib/echoes/pane.rb,
lib/echoes/client.rb,
lib/echoes/cursor.rb,
lib/echoes/editor.rb,
lib/echoes/parser.rb,
lib/echoes/screen.rb,
lib/echoes/version.rb,
lib/echoes/terminal.rb,
lib/echoes/copy_mode.rb,
lib/echoes/installer.rb,
lib/echoes/pane_tree.rb,
lib/echoes/preferences.rb,
lib/echoes/configuration.rb,
lib/echoes/sixel_decoder.rb,
lib/echoes/embedded_shell.rb,
lib/echoes/embedded_shell_helper.rb
Defined Under Namespace
Modules: Client, HelperLibc, Installer, ObjC, Preferences
Classes: Cell, Configuration, CopyMode, Cursor, Editor, EmbeddedShell, EmbeddedShellHelper, Error, GUI, Pane, PaneTree, Parser, Screen, ShakeDetector, SixelDecoder, Tab, Terminal
Constant Summary
collapse
- VERSION =
"0.2.0"
- CONFIG_PATH =
File.join(Dir.home, '.config', 'echoes', 'echoes.conf')
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
124
125
126
|
# File 'lib/echoes/configuration.rb', line 124
def self.config
@config ||= Configuration.new
end
|
.load_config ⇒ Object
128
129
130
131
132
133
134
|
# File 'lib/echoes/configuration.rb', line 128
def self.load_config
if File.exist?(CONFIG_PATH)
config.instance_eval(File.read(CONFIG_PATH), CONFIG_PATH)
end
rescue SyntaxError, StandardError => e
warn "echoes: error loading #{CONFIG_PATH}: #{e.message}"
end
|