Commit Graph

262 Commits (f7d1bd5b32f45aae1601a6ad5adc56fbb9768a36)

Author SHA1 Message Date
Bruno Pinto 8bf09e807e Fixes bak assertions 10 years ago
Bruno Pinto f5654b0ed4 converting bak plugin tests to fish-spec 10 years ago
Bruno Pinto 081f3f5b25 allow --to-contain to receive an array, and check each item individually 10 years ago
Bruno Pinto bce3fff175 --to-be-false and --to-be-true expectations 10 years ago
Jorge Bucaran 125f8d43c8 Subsequent tests should run if one test fails. 10 years ago
Jorge Bucaran 63fd25dacb ❯❯❯ Complete overhaul of brand new Oh-My-Fish test framework.
+ Add documentation and examples.
+ Add new functions to interact with the framework:
  + spec.eval - eval a function by name and echo its description field
  + spec.functions - prints functions currently in scope that match the key glob
  + spec.log - log a message / test result
  + spec.run - run suite of tests
+ Rename list.erase to erase.
10 years ago
Bruno Pinto 64ea3d8002 list.erase test 10 years ago
Bruno Pinto e0bb27831d naiive to_not_include implementation 10 years ago
Jorge Bucaran 235bcf783e Rename array.delete.fish file to list.erase.fish 10 years ago
Jorge Bucaran 29d117e7ce + Rename `array.delete` to `list.erase` to better suit Fish terminology.
+ Extend to support any number of items and/or lists.
+ Add --from option.
10 years ago
Bruno Pinto f34f114018 testing plugin load from custom folder 10 years ago
Bruno Pinto 75ba7639a9 +bucaran array.delete 10 years ago
Bruno Pinto 7c9d660f2c tests using fish-spec 10 years ago
Bruno Pinto 6363714647 removing obsolete plugin sprunge 10 years ago
Jorge Bucaran c76ce97d03 Add ability to escape -s and -n options using a backslash.
Add notes in comments about escaping.
10 years ago
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
10 years ago
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\*.
10 years ago
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.
10 years ago
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.
10 years ago
Daniel Mijares efa2746e45 silly mistake, forgot this is a soft link and needed to follow the link 10 years ago
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).
10 years ago
Daniel Mijares 0bac44ceda cask plugin to add cask to $PATH 10 years ago
Bruno Pinto 30327ff522 brew plugin was not calculating the number of paths to ignore correctly 10 years ago
Bruno Pinto 494855b8a5 sending deprecation message to stderr 10 years ago
Wild Kat 1a18186cca changed code indent to 2 spaces for consistency 10 years ago
Wild Kat bafb64147c Eliminate superficial whitespaces in ssh plugin 10 years ago
Wild Kat c761f9442c Added documentation link for ssh helper plugin and further cleanup 10 years ago
JP Viljoen ad63831b8f [ssh plugin] 256-colour helper stuff 10 years ago
Jichao Ouyang c7d55526ec add capability to bash `export` 10 years ago
Jan Lindblom 0cbd3480a8 Allow plan plugin to read from $PLENV_ROOT (useful with Homebrew on Mac). 10 years ago
Bruno Pinto b861a5cee1 deprecating _append_path and create _prepend_path 10 years ago
Justin Hileman d6d10825ae Remove common .home suffix from local-config hostname. 10 years ago
Bruno Pinto 5f230e331d checking for --inherit-variable support is too slow 10 years ago
Natrim d3daa585aa Composer plugin
- add function "composer"
- uses local composer if available
- add function "composer_install" to install composer to current dir
10 years ago
Roman Inflianskas 2d363c740d [dpaste] Make dpaste a replacement for sprunge 10 years ago
Roman Inflianskas bb1d149e2c [dpaste] Add time options: 1, onetime, 2, twotimes 10 years ago
Roman Inflianskas 36aa069f7b [dpaste] Add system tests 10 years ago
Roman Inflianskas e957365d75 [dpaste] Another try to fix tests running on OS X 10 years ago
Roman Inflianskas b256aac2e1 [dpaste] Allow test run with any working directory 10 years ago
Roman Inflianskas b1b7b0a0ee [dpaste] Using sed -E everywhere 10 years ago
Roman Inflianskas e5b7c01934 [dpaste] Fix hour, week, month expired snippets 10 years ago
Roman Inflianskas 668849a9c3 [dpaste] Fix tests 10 years ago
Roman Inflianskas 4cb6539197 [dpaste] Add tests 10 years ago
Roman Inflianskas 32c1a02690 [dpaste] Add compatibility with non GNU *nix 10 years ago
Roman Inflianskas b3d40bb35d [dpaste] Add --help alias for help 10 years ago
Roman Inflianskas feff0bb89d [dpaste] Fixed file pasting with option -t 10 years ago
Roman Inflianskas 4aedc2917f [dpaste] Underscoring all private variables and functions 10 years ago
Roman Inflianskas 9ce45f5f38 [dpaste] Add "expires" option 10 years ago
Roman Inflianskas a58c498362 [dpaste] Add dpaste plugin 10 years ago
Bruno Pinto 02529d7aca correctly adding sorted brew paths 10 years ago
Roman Inflianskas 81c912731d [bak] Fix tests 10 years ago
Bruno Pinto c46b7d4308 removing old commented out code 10 years ago
CodeFalling 83cef134f2 move git-flow completions to completions folder 10 years ago
CodeFalling dbd2637f6e new plugin:git-flow 10 years ago
Justin Hileman fa022cc8cd Add local-config plugin.
Support per-user, per-host, and per-platform custom configuration files.
10 years ago
Bruno Pinto 28b9612acf replace plugin 10 years ago
CodeFalling 691a9a2bc9 new plugin:better alias 10 years ago
Bruno Pinto fdf3793b60 removing deprecated rake plugin 10 years ago
Bruno Pinto 4b3087d388 adding deprecation warning to autojump plugin 10 years ago
Jean Mertz e83c710ffe Rewrite `bundle exec` wrapper to be more robust 10 years ago
Michele Gerarduzzi bdf8c26770 Improve syntax and uniform style for plugins’ README 10 years ago
Michele Gerarduzzi d7d1ef5831 Add support for ST and ST3 installations inside `~/Applications` on OS X 10 years ago
iven 51a86eaa1a Add `gem` plugin 10 years ago
iven 5e876ee56b Add `android_sdk` plugin 10 years ago
iven 8773b12c2d Add `ccache` plugin 10 years ago
iven 0fc0b2d09e Add `xdg` plugin 10 years ago
Jean Mertz 97ac414448 Allow to pass any arguments to z
before:

```
$ z --help
12         /Users/Jean/Dropbox
12         /Users/Jean/work

$ z work
/Users/Jean/work
```

after:

```
z --help
z [-chlrtx] args

$ z work
/Users/Jean/work
```
10 years ago
Roman Inflianskas acf3206297 bak plugin: fixed directories handling 10 years ago
Roman Inflianskas 07860bc556 bak plugin: tabs -> spaces 10 years ago
Roman Inflianskas 5b861f5c93 bak plugin: tests added 10 years ago
Roman Inflianskas c2c69a91e7 bak plugin: unbak -> unmvbak, uncpbak added 10 years ago
Roman Inflianskas d9aece92c8 bak plugin: add unbak function (inverse to mvbak) 10 years ago
Charles B Johnson 8dcd3e8027 Add plugin for using nodenv. 10 years ago
Celso Miranda e2d8e7a04d add sublime text 3 support for linux
now it works with sublime 3 on arch linux
10 years ago
Nils Stål 812952d1b9 Use https in gi plugin. Issue #216 10 years ago
Peter Armstrong ecf1af6228 rvm plugin fix #217 - removed extra | 10 years ago
Peter Armstrong eca1617841 rvm plugin fix #217 10 years ago
Brian 723f6df96d removed 'bu' and 'bi' from bunder plugin 10 years ago
jeremiejig f94dc43999 typo 10 years ago
jeremiejig 261c3a1503 adding ref to mc in README 10 years ago
jeremiejig 48d0a05042 plugin mc, wrapper to use a shell compatible with mc 10 years ago
Roman Inflianskas 1335503cd6 bak: fixed directory handling 10 years ago
Alexander Grigoriev 7169901224 marks output columnized 10 years ago
Alex Farrell 06086ca17a Add peco plugin 10 years ago
James Hillyerd a42e564fa2 Add README.md for gi 10 years ago
James Hillyerd 5829ff0f5a Redesign gitignore plugin
- removed code that fetches completions frim gitignore.io each time fish
  is started -- makes logins slow!
- gi.load becomes gi.fish, only contains gi function
- add _update_gi_completions.fish: fetches list of completions from
  gitignore.io and places it into ~/.config/fish/completions
- modify gi function to accept update-completions argument
10 years ago
Bruno Pinto 1e7e712f87 fix #175: add /usr/local/sbin to PATH for brew 10 years ago
Bruno Pinto ef0f1f8c40 adds dashing to bundled commands 10 years ago
Jake Schmitz 7c1d37eafd removed deprecation warning, vi-mode in fish not yet implemented 10 years ago
James Hillyerd 22d6ab84f0 Don't auto-set proxy variables if proxy_host unset
- The proxy plugin would create broken environment variables if it was
  enabled but proxy_host was not defined.
10 years ago
James Hillyerd f5d3109d86 OS X `head` command does not support `-` argument for STDIN 10 years ago
James Hillyerd 4346f6b365 Removed NO_PROXY from README.md 10 years ago
James Hillyerd d076e5e289 Update README, remove no_proxy
- README updated with more information about the proxy environment
  varialbes
- no_proxy/NO_PROXY removed from variables being set, it was being used
  incorrectly
diff --git a/plugins/proxy/README.md b/plugins/proxy/README.md index
819d032..3086618 100644 --- a/plugins/proxy/README.md +++
b/plugins/proxy/README.md @@ -2,7 +2,14 @@ proxy plugin ============

 The proxy plugin provides a couple helper functions to those of us who
 are -stuck behind HTTP/HTTPS/FTP proxies that require authentication.
 +stuck behind HTTP/HTTPS/FTP proxies that require authentication.  The
 variables +it exports are used by many command-line and GUI
 applications on Linux, as well +as [MacPorts][1] and [Homebrew][2] on
 OS X.  + +Both uppercase and lowercase versions of the proxy
 environment variables are +set, some applications are case sensitive.
 If you'd like to learn more about +the use of these variables, this
 [Arch Wiki Article][3] is a good place to +start.

 ## Usage

@@ -28,7 +35,6 @@ The proxy plugin will prepend `http://` for you.
Here's the result: ftp_proxy http://myproxy.example.com:8000 http_proxy
http://myproxy.example.com:8000 https_proxy
http://myproxy.example.com:8000
-    no_proxy http://myproxy.example.com:8000

 ### With authentication

@@ -43,3 +49,7 @@ for a password and setup your environment.  If you
didn't setup a proxy_user variable, you will be prompted for a username.

 If you wish to clear your proxy variables, run `noproxy`.  + +[1]:
 http://www.macports.org/ +[2]: http://brew.sh/ +[3]:
 https://wiki.archlinux.org/index.php/proxy_settings
diff --git a/plugins/proxy/_proxy_set.fish b/plugins/proxy/_proxy_set.fish
index b692bf0..e55d29e 100644
--- a/plugins/proxy/_proxy_set.fish
+++ b/plugins/proxy/_proxy_set.fish
@@ -1,8 +1,10 @@
 function _proxy_set -a proxy \
   -d "Set all proxy vars to specified value"

-  set -l envars http_proxy ftp_proxy https_proxy all_proxy no_proxy \
-    HTTP_PROXY HTTPS_PROXY FTP_PROXY NO_PROXY ALL_PROXY
+  set -l envars http_proxy HTTP_PROXY \
+    https_proxy HTTPS_PROXY \
+    ftp_proxy FTP_PROXY \
+    all_proxy ALL_PROXY
   for envar in $envars
     if test $proxy = '-e'
       set -e $envar
10 years ago
James Hillyerd 4682480ea6 Initial commit of proxy plugin 10 years ago
Bruno Pinto ec34dbdc9c deprecating vi-mode plugin 10 years ago
Bruno Pinto d24bc6f074 deprecating rake plugin 10 years ago
Roman Inflianskas 6c45d6bc2a bak plugin: add help on 0 arguments 10 years ago
Roman Inflianskas 33b5d64e7f bak plugin: bak renamed to mvbak, cpbak added 10 years ago
Roman Inflianskas 7258977424 add bak plugin 10 years ago
Jean Mertz 56d0cb8cb4 Add `chruby` plugin
Depends on `chruby-fish`: https://github.com/JeanMertz/chruby-fish

set `CHRUBY_AUTO_ENABLED` to `false` to disable auto loading Ruby versions on
directory change.

set `CHRUBY_ROOT` to point to the root path of chruby. The path will be
appended by `share/chruby/chruby.fish` and `share/chruby/auto.fish`.
10 years ago