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
1c795f0e78
Correct documentation/comments in import
.
2015-01-08 02:28:08 +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
494855b8a5
sending deprecation message to stderr
2014-12-23 16:42:00 -02:00
Jorge Bucaran
7b0a7ef76f
Add -P --preview flag to help debug/test command.
2014-12-23 15:32:32 -02:00
Jorge Bucaran
a51dc2d7f5
Add _prepend_tree command. Traverse a dependency tree and add it to a path.
2014-12-23 15:32:32 -02:00
Bruno Pinto
b861a5cee1
deprecating _append_path and create _prepend_path
2014-11-29 17:15:30 +11:00
Fission Xuiptz
239beda7ea
Fixed condition check on item existence in list
...
Previously, 'set $path...' ran regardless of the result of 'and not contains...'. This fixes _append_path to actually use the result of the condition check.
2014-04-24 16:50:37 -03:00
Jörg Thalheim
11080e5c37
source_script: Use command for external commands
...
users might have functions in interactive shells shadowing system commands.
2014-03-16 16:24:12 +01:00
Bruno Pinto
81c57572ac
adding function to source bash scripts
2013-11-20 08:09:42 -02:00
Bruno Pinto
5ed6752201
extracting _append_path function
2013-11-20 07:35:31 -02:00
Bruno Pinto
1f08915e14
function to restore original fish colors
2013-08-07 09:33:10 -03:00
Bruno Pinto
fd952eebbd
removing no longer used redefine_function
2013-03-02 03:49:12 -03:00
Bruno Pinto
0b219ba00a
Removing unused function
2012-07-25 23:13:51 -03:00
Bruno Pinto
e9962924c3
Function 'redefine_function' that allows a function to be redefined
2012-07-24 23:48:02 -03:00
Bruno Pinto
266512f577
tmpdir is local
2012-07-24 10:40:35 -03:00
Bruno Pinto
f5e7eacbe0
Functions to backup a function and remove a backed up function
2012-07-24 01:00:10 -03:00
Bruno Pinto
cf9fe88c87
moving git function to plugins folder
2012-07-23 20:33:18 -03:00
Bruno Pinto
768a420582
git function to determine if git is dirty
2012-07-23 10:59:10 -03:00
Bruno Pinto
1c6a7f8de3
git function to determine git branch name
2012-07-23 10:58:43 -03:00