Kevin Menard
a06a58fc70
Fix loading of custom plugin completions.
10 years ago
Bruno Pinto
b0354ce36f
do not traverse completions directory
10 years ago
Jorge Bucaran
4875576761
Do not add test/spec files to function path via skip glob in `import`.
10 years ago
Jorge Bucaran
912315ba69
Do not add test/spec files to function path in _prepend_tree.
10 years ago
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/`.
10 years ago
Jorge Bucaran
1c795f0e78
Correct documentation/comments in `import`.
10 years ago
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.
10 years ago
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.
10 years ago
Bruno Pinto
521b7bb7da
prepend_path allowing multiple paths to be specified at once
10 years ago
Bruno Pinto
494855b8a5
sending deprecation message to stderr
10 years ago
Jorge Bucaran
7b0a7ef76f
Add -P --preview flag to help debug/test command.
10 years ago
Jorge Bucaran
a51dc2d7f5
Add _prepend_tree command. Traverse a dependency tree and add it to a path.
10 years ago
Bruno Pinto
b861a5cee1
deprecating _append_path and create _prepend_path
10 years ago
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.
11 years ago
Jörg Thalheim
11080e5c37
source_script: Use command for external commands
...
users might have functions in interactive shells shadowing system commands.
11 years ago
Bruno Pinto
81c57572ac
adding function to source bash scripts
11 years ago
Bruno Pinto
5ed6752201
extracting _append_path function
11 years ago
Bruno Pinto
1f08915e14
function to restore original fish colors
11 years ago
Bruno Pinto
fd952eebbd
removing no longer used redefine_function
12 years ago
Bruno Pinto
0b219ba00a
Removing unused function
12 years ago
Bruno Pinto
e9962924c3
Function 'redefine_function' that allows a function to be redefined
12 years ago
Bruno Pinto
266512f577
tmpdir is local
12 years ago
Bruno Pinto
f5e7eacbe0
Functions to backup a function and remove a backed up function
12 years ago
Bruno Pinto
cf9fe88c87
moving git function to plugins folder
12 years ago
Bruno Pinto
768a420582
git function to determine if git is dirty
12 years ago
Bruno Pinto
1c6a7f8de3
git function to determine git branch name
12 years ago