Commit Graph

1738 Commits

Author SHA1 Message Date
Derek Stavis
f74833dd06 registry: Add technicolor package 2015-11-03 13:34:10 -02:00
Bruno
75937f6820 Merge pull request #153 from oh-my-fish/remove-basename
Remove `basename` from core library
2015-11-03 14:44:14 +00:00
Bruno Pinto
5f77a5db12 Remove basename from core library
The features added by this function are not used anywhere.

Fix #151
2015-11-03 14:02:39 +00:00
Bruno
0ac593a2bb Merge pull request #150 from derekstavis/autoload-erase-no-copy
autoload: Use `set -e` to remove components from paths
2015-11-03 13:40:11 +00:00
Derek Stavis
bf44c45cd5 autoload: Use set -e to remove path from destination 2015-11-01 22:43:52 -02:00
Bruno
06b6b55a08 Merge pull request #133 from derekstavis/dry-omf-repo-pull
omf.repo.pull: Use helper functions to fix code repetition
2015-10-25 18:34:22 +11:00
Derek Stavis
a1db5d5240 omf.repo.pull: Don't repeat yourself treatment 2015-10-25 00:21:09 -02:00
Bruno
f95d18481e Merge pull request #141 from derekstavis/registry/add-fonts
registry: add fonts package
2015-10-25 00:32:22 +11:00
Derek Stavis
a65d18d9bb registry: add fonts package 2015-10-23 23:45:33 -02:00
Bruno
d5c450c927 Merge pull request #134 from derekstavis/registry/add-vcs
registry: add vcs plugin
2015-10-22 00:02:51 +11:00
Bruno
10f3c19341 Merge pull request #129 from derekstavis/add-errno-plugin
registry: Add errno plugin
2015-10-22 00:01:16 +11:00
Derek Stavis
50ccece89f registry: add vcs plugin 2015-10-21 11:01:03 -02:00
Derek Stavis
cc38c87782 registry: Add errno plugin 2015-10-21 10:59:45 -02:00
Bruno
e5d02a8e32 Merge pull request #137 from jrobeson/add-https-to-curl-calls
Add https:// to curl calls in README and install script
2015-10-21 23:51:33 +11:00
Johnny Robeson
e5997f211e Add https:// to curl calls in README and install script 2015-10-20 18:17:49 -04:00
Justin Hileman
4fa53b1d7e Merge pull request #130 from umayr/add-theme-sushi
Add a new theme: Sushi.
2015-10-19 10:31:29 -07:00
Umayr Shahid
71c5afa6a6 Add theme: Sushi 2015-10-19 19:44:55 +05:00
Bruno
c943f8d1a2 Merge pull request #132 from derekstavis/cleanup-omf-repo-pull
omf.repo.pull: Simplify stashed flag using set -q
2015-10-19 12:59:08 +11:00
Derek Stavis
8db6b24966 omf.repo.pull: Simplify stashed flag using set -q 2015-10-18 23:49:10 -02:00
Bruno
c0060f50be Merge pull request #127 from derekstavis/remove-tests-from-templates
omf/templates: Remove Travis from scaffolding
2015-10-18 12:57:58 +11:00
Derek Stavis
bdfc248452 omf/templates: Remove Travis from scaffolding 2015-10-17 21:55:28 -03:00
Bruno
f967a0d334 Merge pull request #125 from derekstavis/fix-bundle-install
Rewrite bundle install to conform with latest `omf.install` interface
2015-10-16 14:03:05 +11:00
Derek Stavis
d224e01570 omf.bundle.install: Fix #123 by rewriting the code
Rewrites the code, as now `omf.install` is type
agnostic, and any -- preceded parameter will
be interpreted as package name.
2015-10-15 23:51:38 -03:00
Derek Stavis
c4bd4ade55 omf: Refresh after bundle install 2015-10-15 23:51:38 -03:00
Bruno
d16796b63d Merge pull request #124 from derekstavis/require-cleanups
require: Cleanup previously sourced init functions
2015-10-16 08:36:48 +11:00
Derek Stavis
ecbc9c5ed3 require: Cleanup previously sourced init functions 2015-10-14 21:58:31 -03:00
Bruno
3aad380079 Merge pull request #121 from derekstavis/merge-theme-and-install
Overhaul install and update code
2015-10-14 09:07:29 +04:00
Pablo Santiago Blum de Aguiar
2ac04c7e5e omf.packages.list: list no “builtin” packages 2015-10-14 01:40:45 -03:00
Derek Stavis
ccd704bca0 omf.theme: Validate if theme is installed 2015-10-14 01:40:45 -03:00
Derek Stavis
7ccdada8c6 omf install: Don't refresh when nothing installed 2015-10-14 01:40:45 -03:00
Bruno Pinto
e234aab3c6 Remove .git$ from name when installing from URL
Support `omf install https://github.com/oh-my-fish/plugin-jump.git`
2015-10-14 01:40:45 -03:00
Bruno Pinto
cc7b321268 Create omf.update function
Update and install were one thing before.
2015-10-14 01:40:45 -03:00
Bruno Pinto
c346731743 Simplify install command
- Install does not do update.
- Share code when installing from URL or name.
2015-10-14 01:40:44 -03:00
Bruno
2f3a8cdfd8 Merge pull request #111 from iax7/master
Add jump plugin repo
2015-10-14 07:27:10 +04:00
Justin Hileman
e2d0455b28 Merge pull request #118 from derekstavis/omf-list-installed-wrapper
Fixes a regression in update process added in #115
2015-10-13 06:38:21 -07:00
Derek Stavis
67c07cb6f6 Fixes a regression in update process added in #115
As #115 migrated list functions, after updating Oh My Fish code
the omf.list_installed_packages gets removed, but is still being
used by the update code.

This commit fixes it by providing a wrapper function.
2015-10-13 10:30:06 -03:00
Isaias Pina
36cdac9f74 Add jump plugin repo 2015-10-13 04:28:41 -05:00
Bruno
9539b50da2 Merge pull request #115 from oh-my-fish/omf-list-rewritten
Merge all omf list functions
2015-10-12 21:32:18 +01:00
Bruno Pinto
870efd0dda Merge all omf list functions 2015-10-12 21:05:23 +01:00
Bruno
dc8ec2ec1d Merge pull request #114 from oh-my-fish/omf-cd-namespaced
Simplify `omf cd` code
2015-10-12 21:01:46 +01:00
Bruno Pinto
7025525ef1 Simplify omf cd code
This also namespace the function to `omf.packages`.
2015-10-12 18:25:12 +01:00
Bruno
394ca55d1b Merge pull request #113 from scorphus/plugin-thefuck
refact(pkg/thefuck): use a better, oh-my-fishy thefuck plugin
2015-10-12 16:10:17 +01:00
Pablo Santiago Blum de Aguiar
f922cd88ee refact(pkg/thefuck): use a better, oh-my-fishy thefuck plugin 2015-10-11 21:13:37 -03:00
Bruno
4c8f84e608 Merge pull request #112 from nwykes/master
update some cli completions: remove query and version. add doctor
2015-10-08 20:34:33 +01:00
nwykes
ffa6338664 update some cli completions: remove query and version. add doctor 2015-10-08 13:28:50 -06:00
Bruno
27af4e366c Merge pull request #102 from derekstavis/omf-theme-no-refresh
Rework omf theme code: Integrate with fish_config, ditch refresh calls
2015-10-08 01:25:14 +01:00
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
Derek Stavis
a99e3ce86a omf.install: Fix success/error return codes
Return 0 when package installs, != 0 on error
2015-10-06 18:00:10 -03:00
Bruno
284b318cb8 Merge pull request #110 from derekstavis/fix-bundle-add
bundle.add: fix theme being persisted twice
2015-10-06 21:39:12 +01:00
Derek Stavis
291d0c9784 bundle.add: fix theme being persisted twice
`omf theme` was persisting the installed theme twice, one time on
`omf.install` and other time on `omf.bundle.add`.
2015-10-06 17:05:16 -03:00