Commit Graph

34 Commits

Author SHA1 Message Date
Bruno Pinto
46f0a3f981 move fish functions to omf plugin 2015-05-31 13:13:23 +01:00
Bruno Pinto
e2d9ad8ff4 new Plugin and Theme functions 2015-05-30 13:11:54 +01:00
Bruno Pinto
25ef546fc7 simplification: do not prioritize '.config/fish/functions' 2015-05-29 21:49:48 +01:00
Jorge Bucaran
125f8d43c8 Subsequent tests should run if one test fails. 2015-01-13 19:16:48 -02:00
Jorge Bucaran
25d45b29c5 Make sure to exit with 0 of 1 when reloading the framework 2015-01-14 03:35:42 +09:00
Jorge Bucaran
16888838b0 Fix import not getting passed the correct passed in oh-my-fish.fish.
To import plugins or load themes:

 + import plugins/<plugin>
 + import plugins/{dpaste,cask} themes/bobthefish

Note: Plugins/Themes can be in either `custom/plugins`, `custom/themes` or `$fish_path/plugins/`, `$fish_path/themes/`.
2015-01-08 03:04:54 +09:00
Jorge Bucaran
5eb156f995 Fix bugs in new import command as discussed in oh-my-fish/pull/291
+ All `.load` files inside custom are sourced as usual.

+ Only set plugins set in `$fish_plugins` as imported. Works whether they are in `$fish_path` or `$fish_custom` as expected. The same for plugins.

+ `$fish_function_path` is not polluted.
2015-01-08 02:21:51 +09:00
Jorge Bucaran
dbab48f307 Add new import command for plugins, simplifiying intial configuration setup in oh-my-fish.fish. Fix incorrect wilcard expansion bug in _prepend_tree and other typos in comments. 2015-01-07 14:00:00 +09:00
Bruno Pinto
521b7bb7da prepend_path allowing multiple paths to be specified at once 2015-01-06 17:55:50 -02:00
Bruno Pinto
b861a5cee1 deprecating _append_path and create _prepend_path 2014-11-29 17:15:30 +11:00
Bruno Pinto
df2cf7e33e removing no longer used function 2014-07-16 00:36:31 -03:00
Bruno Pinto
5ed6752201 extracting _append_path function 2013-11-20 07:35:31 -02:00
Bruno Pinto
605028a7fc using 2 spaces instead of 4 spaces 2013-11-20 06:06:31 -02:00
Wolfgang Richter
9f70b8ec12 oh-my-fish.fish: remove unneeded code 2013-11-20 06:05:27 -02:00
Wolfgang Richter
dd117c8275 oh-my-fish.fish: add helper function to test directory
- existence of dir
- and also if it is already in the path list
2013-11-20 06:05:27 -02:00
Wolfgang Richter
34967e61e9 oh-my-fish.fish: remove debug code thanks @GlitchMr 2013-11-20 06:05:27 -02:00
Wolfgang Richter
513f19c8a1 oh-my-fish.fish: ensure duplicates aren't prepended to fish_function_path 2013-11-20 06:05:27 -02:00
Bruno Pinto
e38b220e1e Revert "fish has renamed . to source"
As @GlitchMr commented, fish 2.1 has not been released yet and even
then, the command . will only be deprecated, not removed.

This reverts commit 03833fda7b.
2013-10-18 14:15:47 -03:00
Bruno Pinto
03833fda7b fish has renamed . to source 2013-10-18 10:17:58 -03:00
Bruno Pinto
1f08915e14 function to restore original fish colors 2013-08-07 09:33:10 -03:00
Bruno Pinto
b7b5ce3cc4 loading theme either from custom or from oh-my-fish dir 2013-08-06 17:31:19 -03:00
ilkosta
9c3d1506ff enable custom themes in $fish_custom/themes dir 2013-06-17 21:27:19 +02:00
Bruno Pinto
05b4207a66 automatically loaded files should not have the suffix '.fish' otherwise fish thinks they are functions 2012-08-15 23:40:07 -03:00
Bruno Pinto
4a250d796b lower case variable names for non-exported variables 2012-07-29 15:42:37 -03:00
Bruno Pinto
e0785f8949 loading all .load.fish files even inside plugins 2012-07-29 01:14:44 -03:00
Bruno Pinto
ed76c2e5c5 plugin and completion load cleanup 2012-07-29 00:36:36 -03:00
Adriano Bonat
e2ff0e06d4 replaced hard-coded path. 2012-07-28 18:05:55 -03:00
Bruno Pinto
3485cbec67 loading plugins completions 2012-07-28 00:25:40 -03:00
Bruno Pinto
33ec29ec41 loading custom plugins and sourcing all files that are not plugins 2012-07-25 01:07:27 -03:00
Bruno Pinto
5e2c99a14d Typo 2012-07-25 00:25:44 -03:00
Bruno Pinto
82cd7867b0 user functions have the highest priority 2012-07-24 21:16:18 -03:00
Bruno Pinto
3c10941014 Loading all functions 2012-07-24 00:59:50 -03:00
Bruno Pinto
1e031c9621 increasing loaded plugins priority 2012-07-23 22:31:28 -03:00
Bruno Pinto
a7d94393f6 adding plugin and theme to fish function path 2012-07-23 20:33:02 -03:00