Commit Graph

811 Commits

Author SHA1 Message Date
Bruno Pinto
13051d0168 oh-my-fish.fish tests 2015-01-09 22:10:01 -02:00
Bruno Pinto
6363714647 removing obsolete plugin sprunge 2015-01-09 21:15:45 -02:00
Bruno
30c683e6f9 Merge pull request #292 from bucaran/plugin-msg
Add msg plugin. The technicolor message printer.
2015-01-09 13:03:04 -02:00
Jorge Bucaran
c76ce97d03 Add ability to escape -s and -n options using a backslash.
Add notes in comments about escaping.
2015-01-09 14:10:02 +09:00
Jorge Bucaran
2542929eb9 Separate msg utility functions into their own file:
+ msg.util.get.color.fish
  + msg.util.random.color.fish
  + msg.util.set.color.fish
  + msg.util.str.get.fish
  + msg.util.str.has.fish
2015-01-09 14:08:47 +09:00
Jorge Bucaran
8e02073145 Add msg plugin. The technicolor message printer.
+ Print messages with style and color easily. Supported styles below:

     _text_                 Bold
     __text__               Underline
     ___text___             Bold and Underline
     `$variable`            Apply @<styles> to $variables
     /directory/            Directories
     [url]                  Links
     \n                     Line Break
     \t                     Tab Space

 + Recognizes 256 different color names and special @random @light @dark @error and @success labels.
 + Included also is `msg.ask` to print a message with `msg` and wait for y/n input. Returns true on y\*.
2015-01-08 04:46:29 +09:00
Bruno
d88084719a Merge pull request #291 from bucaran/feat-import
[feat-import] + import command, ⁑ bad wildcard expansion bugfix in _prepend_tree.
2015-01-07 16:28:57 -02: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
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
852da7e94d Merge pull request #290 from bpinto/prepend_path
Function _prepend_path allowing multiple paths to be specified at once
2015-01-06 18:16:54 -02:00
Bruno Pinto
521b7bb7da prepend_path allowing multiple paths to be specified at once 2015-01-06 17:55:50 -02:00
Bruno
25dbd9ad48 Merge pull request #207 from charlesbjohnson/fix_rbenv_plugin_shell_command
Fix issue with rbenv plugin where some rbenv commands fail
2015-01-01 20:52:33 -02:00
Charles B Johnson
3ba9a50bee Fix issue where some rbenv commands would fail (shell, rehash).
Use rbenv fish integration, if available.

Fix rbenv "supports fish" logic.
2014-12-30 12:01:40 -08:00
Bruno Pinto
a4e58aafb7 Merge pull request #275 from jacobono/gvm-update-and-cask-plugin 2014-12-30 16:38:39 -02:00
Daniel Mijares
228b9c5e34 removing -e tests when cheking for -f or -d
adding local variable flag and setting the variable if java home isn't
taken care of in the first if check.

For some reason there were different tab widths for this bottom
section, unifying to what the top was at -- 2 spaces.
2014-12-30 16:38:29 -02:00
Daniel Mijares
efa2746e45 silly mistake, forgot this is a soft link and needed to follow the link 2014-12-30 16:38:29 -02:00
Daniel Mijares
e0ae3a7db4 plugin was lacking setting {}_HOME variables for all gvm installed
binaries, this fixes that.

This also sets JAVA_HOME (only tested on OSX).
2014-12-30 16:38:28 -02:00
Daniel Mijares
0bac44ceda cask plugin to add cask to $PATH 2014-12-30 16:38:28 -02:00
Bruno Pinto
fcb62327c7 Merge pull request #281 from taktoa/master 2014-12-30 16:26:15 -02:00
Remy Goldschmidt
75300c5445 Fixed https image link 2014-12-30 16:25:56 -02:00
Remy Goldschmidt
f65699beef Revised taktoa theme README 2014-12-30 16:25:56 -02:00
Remy Goldschmidt
d2f8ef5b59 Added taktoa theme 2014-12-30 16:25:56 -02:00
Bruno Pinto
30327ff522 brew plugin was not calculating the number of paths to ignore correctly 2014-12-29 14:45:21 -02:00
Bruno Pinto
494855b8a5 sending deprecation message to stderr 2014-12-23 16:42:00 -02:00
Bruno Pinto
dc2d04f07b Merge pull request #235 from inxilpro/master 2014-12-23 16:10:27 -02:00
Chris Morrell
0ed2e33218 cmorrell.com theme 2014-12-23 16:10:17 -02:00
Bruno Pinto
e4a5202d64 Merge pull request #247 from Fryie/ruby_version_bira 2014-12-23 15:58:17 -02:00
Pierpaolo Frasa
aee49875fa display ruby version 2014-12-23 15:58:08 -02:00
Bruno Pinto
699e221ad9 Merge pull request #269 from wk/master 2014-12-23 15:55:53 -02:00
Wild Kat
1a18186cca changed code indent to 2 spaces for consistency 2014-12-23 15:55:47 -02:00
Wild Kat
bafb64147c Eliminate superficial whitespaces in ssh plugin 2014-12-23 15:55:47 -02:00
Wild Kat
c761f9442c Added documentation link for ssh helper plugin and further cleanup 2014-12-23 15:55:47 -02:00
JP Viljoen
ad63831b8f [ssh plugin] 256-colour helper stuff 2014-12-23 15:55:47 -02:00
Bruno Pinto
818e68b9bc Merge pull request #272 from TheBestNinja/patch-1 2014-12-23 15:54:20 -02:00
TheBestNinja
69f83d862e Tiny typo 2014-12-23 15:54:15 -02:00
Bruno Pinto
d9bd880e9b Merge pull request #276 from charlesbjohnson/cbjohnson_theme 2014-12-23 15:53:09 -02:00
Charles B Johnson
521a6e3846 Add cbjohnson theme. 2014-12-23 15:53:04 -02:00
Bruno Pinto
c65a0dbbf9 Merge pull request #278 from jcouyang/export 2014-12-23 15:46:24 -02:00
Jichao Ouyang
c7d55526ec add capability to bash export 2014-12-23 15:46:17 -02:00
Bruno Pinto
fa024507da Merge pull request #280 from bucaran/feat-prepend_tree 2014-12-23 15:45:16 -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
9c37de5d5f Merge pull request #282 from janlindblom/feature/improved_plenv_plugin
Allow plenv plugin to read from $PLENV_ROOT
2014-12-23 15:25:08 -02:00
Jan Lindblom
0cbd3480a8 Allow plan plugin to read from $PLENV_ROOT (useful with Homebrew on Mac). 2014-12-17 13:51:57 +01:00
Bruno Pinto
3a4b7de689 Merge branch 'prepend_path' 2014-11-29 17:17:28 +11:00
Bruno Pinto
b861a5cee1 deprecating _append_path and create _prepend_path 2014-11-29 17:15:30 +11:00
Bruno
73459aeb7d Merge pull request #266 from bobthecow/fix/local-config-home-suffix
Remove common .home suffix from local-config hostname.
2014-11-29 12:25:53 +11:00
Justin Hileman
d6d10825ae Remove common .home suffix from local-config hostname. 2014-11-28 11:28:23 -05:00