oh-my-fish/pkg/omf/cli
Derek Stavis ea0b464f1d omf.theme: Rework theme activation code
- Move theme installation to cli entry point (omf.fish)
- Generalize XDG_CONFIG_HOME code in `omf.xdg.config_home`
- Generalize prompt conflicts check in `omf.checks.fish_prompt`
  * Migrate `omf.doctor` to use it

+ Change theme activation steps
  - Create user function path if not existent
  - Check for conflicts in fish_prompt, aborts if found
  - Remove current theme from autoloading paths
  - Add target theme to autoloading paths
  - Link target theme's fish_prompt to user's
  - Persist selected theme to $OMF_CONFIG/theme

This approach brings two major advantages:

- Theme prompt now shows accordingly in fish_config web interface
- Faster theme changes, reducing it from seconds to some milis
- Avoids calling refresh, which makes users much more happy
2015-10-07 00:50:14 -03:00
..
omf.bundle.add.fish bundle.add: fix theme being persisted twice 2015-10-06 17:05:16 -03:00
omf.bundle.install.fish Using raw name_or_url instead of name. 2015-09-13 23:22:12 +02:00
omf.bundle.remove.fish omf.bundle.remove: return 0 when done 2015-09-13 18:13:22 -03:00
omf.cd.fish omf cd command for changing directories. 2015-08-28 17:23:20 +01:00
omf.check.fish_prompt.fish omf.theme: Rework theme activation code 2015-10-07 00:50:14 -03:00
omf.describe.fish describe without ruby 2015-08-31 22:37:56 +02:00
omf.destroy.fish destroy: Revert fish_prompt backup when found 2015-10-05 14:11:59 -03:00
omf.doctor.fish omf.theme: Rework theme activation code 2015-10-07 00:50:14 -03:00
omf.help.fish Resolve #30: omf doctor command 2015-10-03 21:04:30 +01:00
omf.install_package.fish centralize pkg / theme installation 2015-08-28 18:28:47 +09:00
omf.install.fish omf.theme: Rework theme activation code 2015-10-07 00:50:14 -03:00
omf.list_db_packages.fish describe works on installed packages 2015-08-31 22:04:51 +02:00
omf.list_installed_packages.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.list_installed_themes.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.list_local_packages.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.list_themes.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.new_from_template.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.new.fish Change theme when creating a new theme 2015-08-28 13:15:31 +01:00
omf.remove_package.fish Forgot to suppress error message 2015-10-04 13:49:58 +01:00
omf.repo.clone.fish Extract git clone calls into omf.repo.clone 2015-09-07 00:11:20 +01:00
omf.repo.pull.fish Stash does not support --git-dir 2015-10-02 21:16:50 +01:00
omf.submit.fish Back to oh-my-fish organization 2015-09-03 19:35:19 +01:00
omf.theme.fish omf.theme: Rework theme activation code 2015-10-07 00:50:14 -03:00
omf.version.fish Naming functions with omf. namespace. 2015-08-28 18:24:56 +09:00
omf.xdg.config_home.fish omf.theme: Rework theme activation code 2015-10-07 00:50:14 -03:00