Commit graph

4797 commits

Author SHA1 Message Date
Marc Cornellà
5a729f6667 lib: fix history wrapper when passing numbers
If a number is passed without explicitly passing `-l`, it will now behave
as if using the history builtin, instead of throwing an error.
2018-09-15 22:56:12 +02:00
Erik
315eb77336 react-native: update readme with new aliases (#7135) 2018-09-13 21:42:12 +02:00
Ivan Eisenberg
d77d636b4c git-flow: add "gflfp" alias for feature publish (#6350)
- Add `gflfp` as an alias for `git flow feature publish`
- Update README.md documentation
2018-09-13 21:41:26 +02:00
Erik
16bfd6fd7f react-native: add aliases for newer iPhones (#7134)
Added aliases for iPhone 7, 7 Plus, 8, 8 Plus, SE, and X
2018-09-12 22:56:18 +02:00
Max Gautier
509a554900 git: use color auto for ref names in git log (#5729)
Allow the ref names to have differents colors if they are remote refs
or local refs, and another color for HEAD
(use the same coloring scheme as --decorate option)
2018-09-12 19:35:10 +02:00
Luis Ferrer-Labarca
5ee93f4f15 git: add git rm aliases (#5433)
* grm for 'git rm'
* grmc for 'git rm --cached'
2018-09-12 19:08:12 +02:00
Yago Nobre
0db7da0cd5 git: add push force aliases (#6297)
* gpf to --force-with-lease
* gpf! to --force
2018-09-12 19:05:57 +02:00
Simen Bekkhus
a3afeca3eb git: add gbD alias to force-delete branch (#5844) 2018-09-12 18:38:21 +02:00
Garth Mortensen
bf05bb3a1b dash: update dash bundle identifier (#7127) 2018-09-12 18:13:13 +02:00
Jefferson F. Pires
d5f0a0a413 git: add glols alias for glol --stat (#5871) 2018-09-12 16:57:48 +02:00
Gant Laborde
69ba6e4359 git: add alias to git stash --all (#5511)
Stash tracked, ignored and untracked files. Leaves the working directory absolutely clean.
2018-09-12 16:28:59 +02:00
Poyoman
3d2542f41b git: add pull rebase --autostash aliases (#6791) 2018-09-12 15:52:42 +02:00
Garth Mortensen
1487a2ad84 urltools: add readme (#7126) 2018-09-11 20:22:55 +02:00
Matthieu PETIOT
d4cae83152 osx: add function to remove .DS_Store files (#7008)
rmdsstore removes .DS_Store files recursively in the current directory by default, or for the given directories.
2018-09-10 20:10:31 +02:00
Marc Cornellà
fe5fe81c8c
lib: quote arguments to env_default
Fixes #7117
2018-09-09 19:50:23 +02:00
Iulian Onofrei
08a2808636 Fix incorrect error message when running bi without having bundler installed (#7112) 2018-09-09 00:39:23 +02:00
Marc Cornellà
f75d096c1a
lib: small change to git_compare_version
Fixes #7118
2018-09-08 21:35:03 +02:00
Maxime Brunet
bb908495de fzf: Fix shell directory for archlinux package (#7119)
* fzf: Fix shell directory for archlinux package

* fzf: Don't clutter PATH if fzf already available

* brew has it available via symlink in /usr/local/bin
* Fedora and Arch packages have it place in /usr/bin

* fzf: Fix archlinux guess by using release file

* fzf: unset leftover variables
2018-09-08 15:31:13 +02:00
Michele Bologna
f73c29a820 Feat: add Salt completion plugin (#7031)
* Feat: add Salt completion

* Docs: add README
2018-09-06 11:34:37 -07:00
Maxime Brunet
86542dcd86 Add fzf plugin (#6910) 2018-09-04 22:25:45 +02:00
Marc Cornellà
69e637c355
fasd: use xdg-open in o alias back again
Fixes #6314
2018-09-03 17:13:18 +02:00
Cristian Măgherușan-Stanciu @magheru_san
e416990442 fasd: drop-in replace the autojump j alias (#3860) 2018-09-03 17:09:31 +02:00
Ross Lafferty
0853b74fef jump: fix printf path output (#7105)
Using the `jump` plugin, using the `marks` command will yield this output:
```
$ marks
desktop marks:printf:5: bad option: ->
dotfiles        marks:printf:5: bad option: ->
home    marks:printf:5: bad option: ->
```

the `marks` function uses `printf` with `->` and I believe `-` is used by `printf` for left-justification.  changing this to `-- "->"` seems to render the appropriate output.

```
desktop -> /Users/uname/Desktop
dotfiles        -> /Users/uname/.dotfiles
home    -> /Users/uname
```
2018-09-01 13:37:05 +02:00
Marc Cornellà
9f1ffc64f1
vi-mode: reset-prompt if zle is active (TRAPWINCH)
Fixes zle errors when resizing:

  TRAPWINCH:zle: widgets can only be called when ZLE is active
2018-08-31 21:18:18 +02:00
Fadi Hadzh
dc8811f817 fix nmap vuln category name (#7044) 2018-08-29 23:06:11 +02:00
Serhii Kuts
94df503863 Update kubectl.plugin.zsh (#6636) 2018-08-29 12:01:40 -07:00
Nick Diego Yamane
143cc8f901 Fix rvm-prompt usage in fino* themes (#6477)
* theme/fino: Check rvm-prompt is installed before to try to use it

Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>

* theme/fino-time: Check rvm-prompt is installed before to try to use it

Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2018-08-29 12:01:10 -07:00
Balint Gyapjas
285b540167 vi-mode show indicator on zle-line-init and SIGWINCH (#6449) 2018-08-29 12:00:35 -07:00
Janosch Schwalm
3cd8eaf9bb execute mvnw with "mvn" when mvnw-file is present (#6484)
* executing mvnw, when mvnw-file exists
indriectly enable autocompletion for mvnw

* inform the user :)
2018-08-29 12:00:06 -07:00
Janosch Schwalm
84aa274604 executing gradlew, when gradlew-file exists (#6485) 2018-08-29 11:59:27 -07:00
Konstantin Gribov
2b6434e879 Fixed fwl function in firewalld plugin when sources used (#7011)
`firewall-cmd --get-active-zones` returns something like this:

```
dmz
  sources: ipset:dmz-hosts
public
  interfaces: eth0
```

if zone binding is based on source ips, so strings with `sources: ...` should be excluded along with `interfaces: ...` to get zones list.
2018-08-29 11:57:02 -07:00
Vinod Damle
e7c9bf8d66 kubectl: add alias for kubectl cp (#7068) 2018-08-29 11:56:30 -07:00
Matthew Murphy
8ec0937653 Update golang.plugin.zsh (#6750)
add alias to cd to $GOPATH, $GOPATH/src, $GOPATH/bin
2018-08-29 11:55:23 -07:00
Aiden
5cc6de67bd Update brew.plugin.zsh (#6947)
add aliases for `brew pin` and `brew list --pinned`
2018-08-29 11:53:24 -07:00
Dan O'Brien
39221643b0 Add aliases for kubectl nodes (#7093)
* Add aliases for kubectl nodes

* change to have 'o' at the end.

My teammate noticed there's no namespacing shortcuts either and will be doing a PR on them with kgna.
2018-08-29 11:51:50 -07:00
Samuel Lelièvre
77d75d7fcd Clarify random theme setting (#7090)
Clarify random theme setting, in particular how to know
which theme was loaded if picked at random.
2018-08-29 11:50:52 -07:00
Kris Kalavantavanich
e93378aacd [plugins/git] Updated git clone alias (#6893)
* Updated git clone alias

`git clone --recursive` has been deprecated in favor of `--recurse-submodules`.  
See: https://stackoverflow.com/questions/3796927
2018-08-29 15:18:20 +02:00
Ryan Stull
2c1100c0e5 Updating 'sbcl' to 'sbcln' (#7095)
Changing 'sbcl' to 'sbcln' so it doesn't collide with 'Steel Bank Common Lisp', a popular lisp implementation.
2018-08-29 15:15:11 +02:00
Marc Cornellà
caa936593a
Merge pull request #7079 from mcornella/refactor-trapd00r-theme
Refactor trapd00r theme
2018-08-25 14:00:19 +02:00
Franklin Yu
36808ff61e [plugin/chruby] Add "system" to completion list
Detect system Ruby in default PATH, and provide "system" completion if
Ruby is found.
2018-08-23 20:46:23 -04:00
Joel Wallis Jucá
652356b9b9 git: add the git show alias gsh (#5591) 2018-08-23 22:04:42 +02:00
Marc Cornellà
2bb10441da
nyan: deprecate plugin with removal notice
Fixes #6826
2018-08-23 20:28:20 +02:00
jack
314f9dfcb3 github: fix new_gh to force-add .gitignore (#7086) 2018-08-23 20:01:01 +02:00
Marc Cornellà
b70a703a09 trapd00r: clean up the script 2018-08-20 18:15:49 +02:00
Marc Cornellà
e972624997 trapd00r: simplify logic and optimize for loop
This version splits the `$PWD` by the slashes and prints the path
directory by directory, printing the separators as before.
2018-08-20 18:03:41 +02:00
Marc Cornellà
b4c8b60bb4 trapd00r: change more slowly between yellows
Also refactor the logic
2018-08-20 17:55:22 +02:00
Marc Cornellà
3d1719c618 trapd00r: optimize reset of foreground colors 2018-08-20 17:50:11 +02:00
Marc Cornellà
4774bc62d5 trapd00r: look for 256-color support, not $DISPLAY
Checking if the terminal supports 256 colors is better suited for
our purpose. Checking if `$DISPLAY` is set doesn't tell us if our
colors will be displayed correctly.
2018-08-20 17:45:36 +02:00
Marc Cornellà
1d26e2ab6f trapd00r: convert perl script to zsh
Used color encodings from
https://metacpan.org/source/WOLDRICH/Term-ExtendedColor-0.224/lib/Term/ExtendedColor.pm
2018-08-20 17:37:26 +02:00
Michele Iacobone
abca62add1 Fix for external dependency in trapd00r theme (#5579) 2018-08-19 22:43:47 +02:00