Module: Dotsync::XDGBaseDirectory
- Included in:
- ConfigCache, PullActionConfig, VersionChecker
- Defined in:
- lib/dotsync/config/concerns/xdg_base_directory.rb
Overview
Instance Method Summary collapse
Instance Method Details
#xdg_bin_home ⇒ Object
18 19 20 |
# File 'lib/dotsync/config/concerns/xdg_base_directory.rb', line 18 def xdg_bin_home File.(ENV["XDG_BIN_HOME"] || "~/.local/bin") end |
#xdg_cache_home ⇒ Object
14 15 16 |
# File 'lib/dotsync/config/concerns/xdg_base_directory.rb', line 14 def xdg_cache_home File.(ENV["XDG_CACHE_HOME"] || "~/.cache") end |
#xdg_config_home ⇒ Object
10 11 12 |
# File 'lib/dotsync/config/concerns/xdg_base_directory.rb', line 10 def xdg_config_home File.(ENV["XDG_CONFIG_HOME"] || "~/.config") end |
#xdg_data_home ⇒ Object
6 7 8 |
# File 'lib/dotsync/config/concerns/xdg_base_directory.rb', line 6 def xdg_data_home File.(ENV["XDG_DATA_HOME"] || "~/.local/share") end |