Commit graph

5,152 commits

Author SHA1 Message Date
Hosh
71b6d4e3f7 Update AWS completion (#6745) 2018-06-15 11:55:56 +02:00
Quentin Nerden
be43d35c8f Add autocomplete plugin for minikube (#6436) 2018-06-15 11:55:56 +02:00
Francisco Zuviría
b1de9d0f19 Adhere to coding style outlined in wiki 2018-06-15 11:55:56 +02:00
David Harrigan
1ec9b9fdad gradle plugin should support kotlin gradle build files (#6529)
This change allows the gradle plugin to recongise build.gradle.kts files and
thus generate the autocomplete entries.

-=david=-

closes #6528
2018-06-15 11:55:56 +02:00
MikeDawg
556e6d5286 Removed duplicate fedora from plugins, dnf provides exact same features 2018-06-15 11:55:56 +02:00
Joshua Kovach
0c7d5b23de Fix branch not updating on checkout in steeef (#6784)
* Fix branch not updating on checkout in steeef

* Check for `hub` in steeef when switching branches
2018-06-15 11:55:55 +02:00
Marc Cornellà
c9b442624a Allow completion of dot directories (#6803)
Fixes #3775, fixes #6543
2018-06-15 11:55:55 +02:00
Marc Cornellà
e560516833 Add READMEs to plugins copydir and copyfile (#6802)
* Add README to copydir plugin

* Add README to copyfile plugin
2018-06-15 11:55:55 +02:00
ningwei1993
cc2c859980 fix bug for check zsh (#6798) 2018-06-15 11:55:55 +02:00
Marc Cornellà
3298958f00 installer: check if zsh in path instead of /etc/shells
Fixes #4955

Closes #5931
Closes #6398

Co-authored-by: Void <vst4rbot@gmail.com>
Co-authored-by: Kaleb Elwert <belak@coded.io>
2018-06-15 11:55:55 +02:00
Joseph Richey
ef23111046 Correctly handle verbose/version flags for rustc (#6786)
See the help output for rustc (v1.25)
2018-06-15 11:55:55 +02:00
Oliver Baumann
5ca98d9e06 Parse branch-name for fresh repo (#6302)
Inside a fresh git repo, i.e. immediately after a `git init`, usually no
commit template exists yet. In this case, git renders a different
status message than "Initial commit on". We should consider this message
when attempting to parse out the branch name.

Fixes #6301
2018-06-15 11:55:55 +02:00
Ady Romantika
cca771371c Add aliases for kubectl ingress (#6762) 2018-06-15 11:55:55 +02:00
Marc Cornellà
54a59d1189 Revert to checking if enable-ssh-support is set
Fixes #6772
2018-06-15 11:55:55 +02:00
Francisco Zuviría
13cc01df3f On branch fzuviria.plugin.dirhistory.new-feature.navigate-history
Changes to be committed:
	modified:   dirhistory/dirhistory.plugin.zsh

New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-06-15 11:55:55 +02:00
Ilyes Kechidi
9d0a1cd609 modified the script to use tar command instead of zip 2018-06-15 11:55:55 +02:00
Ilyes Kechidi
9ef5f8aa59 updated transfer README.md 2018-06-15 11:55:55 +02:00
Ilyes Kechidi
331b3674ac replaced transfer function with @nl5887 version 2018-06-15 11:55:55 +02:00
Ilyes Kechidi
627d53e1f1 added README for transfer.sh plugin 2018-06-15 11:55:55 +02:00
Ilyes Kechidi
ed8aa3428c added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing
site
Usage : transfer file.txt
2018-06-15 11:55:55 +02:00
Gaetan Semet
e357d762b5 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	plugins/npm/npm.plugin.zsh
2018-04-27 12:06:08 +02:00
Gaetan Semet
06fef63068 mac tpl: disable cask, enable docker 2018-04-27 12:04:39 +02:00
Konstantin Zolotarev
9cd3701ac0 Added ecto tasks (#6035) 2018-04-25 22:12:19 +02:00
Cristian Álvarez Belaustegui
bf87e99a14 Fix mix-fast plugin (#6708)
The mix command for listing all available actions has been changed from
`mix --help` to `mix help`.
2018-04-25 22:06:26 +02:00
George Kaklamanos
acacfec924 Remove unneeded option in glol and glola (#6059) 2018-04-25 14:14:33 +02:00
Tomasz Borek
b85c72b5f6 Better app error handling in curl (#5828)
Deals with app error page, saving true error instead.

Upon app failure, Heroku returns HTML "Application Error" page.
Finding HTML page in .gitignore is confusing, so I replaced
`-s` with `-f` in curl calls, which cuts such output.

Replace instead of addition as no progress meter outputs either.

It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.
      -- E. W. Dijkstra
2018-04-25 14:11:46 +02:00
Marc Cornellà
93d9431890
Check for Microsoft's WSL in open_command (#6751)
This will work only on files and directories in a DrvFs mount, i.e.
that can be translated to a Windows drive path.
For example: /mnt/c/Users/user.

Files and folders inside the LXSS directory can't be handled in
Windows, they must be ONLY used by the WSL subsystem. That's why
you won't be able to open your $HOME directory, for instance.

See https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
2018-04-24 23:47:26 +02:00
Marc Cornellà
ef70990ce1
Simplify hub check and hardcode aliasing (#6767)
* Simplify hub check and hardcode aliasing

* Update hub completion
2018-04-24 22:02:58 +02:00
Marc Cornellà
45a9f28464
[half-life] Fix last command check
Fixes #6758
2018-04-23 20:47:19 +02:00
oooooooo
c117d241cb $ rails runner [TAB] *complete* (#5881) 2018-04-23 20:36:55 +02:00
Marc Cornellà
cf5ccf06a0
[subl] Fix local variable definition
Fixes #6757
2018-04-23 13:06:49 +02:00
Sean Abraham
604f580f05 Make steeef theme much faster by not iterating through all history (#6359)
* Make steef much faster by not printing all history each time

* Use whence -c to expand shell functions as well

* Use $2 (expanded command about to be ran)
2018-04-22 22:37:06 +02:00
Julian Laubstein
c7185c35f3 Add completions to asdf plugin (#6046) 2018-04-22 20:27:12 +02:00
Terrance Kennedy
8efcf2776b pyenv plugin refactor (8x faster) (#6165)
* Refactor pyenv plugin to use PATH
2018-04-22 20:03:58 +02:00
Marc Cornellà
897a7da6c5 Merge branch 'heads/apjanke/fix-local-in-sublime-plugin'
Closes #4086
2018-04-22 18:38:15 +02:00
Andrew Janke
cea941ce42 sublime plugin: make "local" work by wrapping in anon function 2018-04-22 18:37:05 +02:00
Marc Cornellà
64cd002b7a Merge branch 'apjanke/norris-scrape'
Closes #3642
2018-04-22 18:26:28 +02:00
Andrew Janke
13c840fa3e Remove the GPL LICENSE file b/c it's no longer relevant 2018-04-22 18:25:58 +02:00
Andrew Janke
ef68878b22 Rebuild the chucknorris fortune file with a scrapper, using 20 pages worth
NOTE: The scrapper was previously included, but due to the website it scrapped
being dead it's no longer useful. See #3642 for the code.

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2018-04-22 18:24:12 +02:00
Marc Cornellà
676038bdfa
Merge pull request #3422 from mcornella/fix-history-alias
Enhance history alias
2018-04-22 15:57:41 +02:00
Marc Cornellà
2589cdd8f9 Increment HISTSIZE to fix hist_expire_dups_first
This fixes the old behavior which made it so all duplicates would be
deleted if the command history filled up with unique events.

> You should be sure to set the value of HISTSIZE to a larger number
> than SAVEHIST in order to give you some room for the duplicated
> events, otherwise this option will behave just like HIST_IGNORE_ALL_DUPS
> once the history fills up with unique events.
2018-04-22 15:33:12 +02:00
Marc Cornellà
9f2f22d953 Remove duplicate option append_history
The option inc_append_history already has the same effect.
2018-04-22 15:33:11 +02:00
Marc Cornellà
20d63be655 Use zparseopts to get passed arguments 2018-04-22 15:33:10 +02:00
Marc Cornellà
f8180c3a64 Allow overriding -l flag in history 2018-04-22 15:32:30 +02:00
Marc Cornellà
03758416fe Ensure builtin fc is used (see #3001) 2018-04-22 15:32:02 +02:00
Marc Cornellà
643bb25a0d Organize history.zsh file and improve comments 2018-04-22 15:32:02 +02:00
Marc Cornellà
94baa9eadd Simplify `if' into oneliner, allow spaces in HISTFILE 2018-04-22 15:32:01 +02:00
Marc Cornellà
d87d4331cf Change history alias into a function
This commit changes the history alias into a function which puts
the passed arguments before `-l 1`. It also provides a temporary
workaround to the lack of a `history -c` command in zsh.

For more information see issues 739 and 789.
2018-04-22 15:31:53 +02:00
Marc Cornellà
dd39d43021
Merge pull request #5601 from mcornella/refactor-zsh_reload-plugin
Refactor zsh_reload plugin
2018-04-22 12:59:40 +02:00
Marc Cornellà
fbbe902c38 zsh_reload: add README 2018-04-22 12:55:21 +02:00