Commit graph

4,056 commits

Author SHA1 Message Date
Marc Cornellà
2b1a49e30b archlinux: reword and simplify README 2016-09-03 09:55:06 +02:00
Marc Cornellà
660a758f61 archlinux: remove comments, format functions better 2016-09-03 09:55:06 +02:00
Marc Cornellà
93ec06cbed Properly fix npm completion source
Problem introduced in 136a834.
2016-09-03 09:55:06 +02:00
Marc Cornellà
3404f9290f Reorder zshrc template 2016-09-03 09:55:06 +02:00
Marc Cornellà
4c013d3004 npm: only load completion if npm exists 2016-09-03 09:55:06 +02:00
Bjørn Madsen
62da70d0ab archlinux: Update yasu alias
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-09-03 09:55:06 +02:00
Marc Cornellà
03c3b4301e dircycle: keep switch until a directory is found
This fixes the use case where a directory in the dir stack
doesn't exist anymore, so the keystroke doesn't appear to
do anything.

It will keep trying to switch to the n-est directory in the
stack until it founds an available directory or the dirstack
has no more directories to switch to.
2016-09-03 09:55:06 +02:00
Philipp Wahala
5145025d3e Create and cache npm completion on first run
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-09-03 09:55:06 +02:00
Shubham Chaudhary
a23da4ae1e Add more go aliases (#5259)
*  Also gfa conflicts with git shortcut
2016-09-03 09:55:06 +02:00
Simon
ded0f4717d Add alias for checking out develop branch (#5307) 2016-09-03 09:55:06 +02:00
khenarghot
fc3a6ebde0 Fix git emptiness check in dogenpunk theme (#5329)
The parsing output for full git log output too slow so it replaced
with last commit show request, wich cause error if repository is empty
2016-09-03 09:55:06 +02:00
Marc Cornellà
bb61b90297 Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059.
2016-09-03 09:55:06 +02:00
Piotr Gaczkowski
9b088a3d62 Clobber ssh environment regardless of setopt (#5322) 2016-09-03 09:55:06 +02:00
Emmanuel Isaac
5a83945686 Add git alias to clear entire stash (#5306)
Using the "gstc" alias runs "git stash clear"
that clears every stash index
2016-09-03 09:54:46 +02:00
Marc Cornellà
97fd86dfdf Fix git-flow README
- Fix "installation" information
- Add links to github project
- Transform list of aliases into table with descriptions
2016-09-03 09:54:46 +02:00
Fumseck
43cbb81a60 Add alias and README to git-flow plugin (#5129) 2016-09-03 09:54:46 +02:00
Marc Cornellà
08ad38f0e6 Fix shwordsplit bug when a basedir contains spaces
The `shwordsplit` option affects all variables and we only need to split
the `$EDITOR` variable. Because of that, using `${=spec}` is a much better
alternative.

More info at
http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-SH_005fWORD_005fSPLIT_002c-toggle
2016-09-03 09:54:46 +02:00
Marc Cornellà
f49596a68a Fix pj() function when no project has been specified 2016-09-03 09:54:46 +02:00
Marc Cornellà
b53da8fa59 Refactor pj function
- Use `emulate -L zsh` to make all variables local.

- Use `shwordsplit` to interpret `$cmd` spaces correctly.

- Rename `$project` and `$file` variables to the more appropriate `$basedir`
  and `$project`.
2016-09-03 09:54:46 +02:00
Marc Cornellà
fb392e308b Fix _pj completion function
- `$PROJECT_PATHS/*` wasn't working correctly. You have to iterate over
  its elements in order to use globbing with it.

- The `$projects:t` line wasn't necessary if we used `compadd`.

- `compadd` better supports destructuring an array with spaces in some
  of its elements.
2016-09-03 09:54:45 +02:00
Marc Cornellà
603cbe3f21 Add Readme to pj plugin 2016-09-03 09:54:45 +02:00
Marc Cornellà
9739939543 Clean up comments in pj plugin file and reorganise 2016-09-03 09:54:45 +02:00
Thiago Leite Luiz
ae2845b54d Adding alias to rake db:schema:load command. (#5281) 2016-09-03 09:54:45 +02:00
Peter Han
35d75839d1 Create an alias to open up sublime project (#5258)
* Adding an alias to open up the sublime project

* README update for stp command
2016-09-03 09:54:45 +02:00
Dzianis Dashkevich
0e7fbad389 Add gcpa and gcpc aliases to git plugin (#5271) 2016-09-03 09:54:45 +02:00
Ahmad Awais
10a78c1624 Enhancement: Show/Hide OSX hidden files 💯 (#5275) 2016-09-03 09:54:45 +02:00
naegi
26a06e11b8 Plugin : Sudo - Add support of sudoedit (#5035)
* Add sudoedit support

* change describtion of sudo plugin
2016-09-03 09:54:45 +02:00
$ea
12c1475219 plugins/urltools: add suport for python 3 (#5039)
Python 3!!!!
2016-09-03 09:54:45 +02:00
Arz Yu
ffa03a15e9 muse theme: Remove extra spaces for none git/virtualenv prompt (#5278)
* muse theme: Remove a extra space for none git prompt

* muse theme: Remove a extra space for none virtualenv prompt
2016-09-03 09:54:45 +02:00
Patrick Stadler
7888bfa7c1 add kubectl plugin (#5298) 2016-09-03 09:54:45 +02:00
Aleksey Ivanov
cfbc4fab04 refresh .rake_tasks when lib/tasks changed (#5111) 2016-09-03 09:54:45 +02:00
Daniel Grove
31654a7514 Add tmux attach -d alias (#5285) 2016-09-03 09:54:45 +02:00
Aaron Decker
db755049ca add npm aliases (#5290) 2016-09-03 09:54:45 +02:00
Carlo Dapor
796aa460df Feedback from angular-cli is "drop addon, asset-sizes, d, destroy. Also, serve does not support --output-path / -op / -out anymore". This commit corrects it. 2016-08-22 22:12:40 +02:00
Carlo Dapor
50f69918a4 Added README.md 2016-08-15 15:27:38 +02:00
Carlo Dapor
093440ee4f Updated options for generate. Added gh-pages:deploy / github-pages:deploy. 2016-08-12 23:43:19 +02:00
Carlo Dapor
eb6c7a4f40 The argument completion also has no extra options. 2016-08-12 21:01:51 +02:00
Carlo Dapor
d97295c183 Added angular-cli (ng) completion. 2016-08-12 20:50:57 +02:00
Simen Bekkhus
ae21102030 (git): Add gpsup alias (#5287) 2016-08-11 02:47:54 +02:00
Shiv Venkatasubrahmanyam
c09323098a Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) (#5262)
* Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux)

* Add a README
2016-08-11 02:44:00 +02:00
Kyle Scully
a9428b137f added mix autocompletion support for phoenix (#4967) 2016-08-11 02:28:56 +02:00
Dominic Motuka
4505a438e4 update alias of get a list of packages installed locally (#5276) 2016-08-11 02:14:52 +02:00
Fredrik Fornwall
9772f8e10d Replace /bin/sh with sh for portability (#5291)
This makes things work even on system lacking /bin/sh, such as on
non-rooted Android systems.
2016-08-09 02:39:11 +02:00
Luke Childs
a7de0fabd7 nvm plugin improvements (#5265)
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 19:36:44 +02:00
Marc Cornellà
7654b16b39 [git plugin] Fix indentation and organise aliases 2016-08-07 18:30:57 +02:00
Cédric Malard
f5537241a4 Fix gbda alias to support color.ui = always + exclude dev branches (#4304)
* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
2016-08-01 18:16:54 +02:00
nklmish
508b80c1e1 support for startpage search engine in web-search plugin (#5245) 2016-08-01 18:05:01 +02:00
Steven
61981951b1 Updated git_commits_ahead function (#5247)
* Function wasn't returning correct value
* Updated underlying git command
* Kept echo command from previous function for backwards compatibility
* Kept function consistent with git_commits_behind
2016-08-01 17:48:46 +02:00
Anton
a7e30b26ba Fix hg call when missing on archlinux with command-not-found (#5218) 2016-07-22 15:04:35 +02:00
Adam Glenn
cc8285b1f7 adding python virtualenv support to the prompt (#5031)
adding python virtualenv support to muse theme
2016-07-19 21:01:00 +02:00