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.
8 years ago
Marc Cornellà
dd39d43021
Merge pull request #5601 from mcornella/refactor-zsh_reload-plugin
...
Refactor zsh_reload plugin
8 years ago
Marc Cornellà
fbbe902c38
zsh_reload: add README
8 years ago
Marc Cornellà
405b8f220a
zsh_reload: use `exec zsh` instead of `source ~/.zshrc`
...
`source ~/.zshrc` is a bad practice, it doesn't make sure that the full
zsh session is reloaded and it may have side effects.
Use `$SHELL` as the path to zsh if it exists (this will fix edge cases
where the zsh used is not the first on $PATH). Otherwise, use `zsh`.
8 years ago
Marc Cornellà
8706c8eb64
zsh_reload: ignore insecure compinit files
8 years ago
Marc Cornellà
9a7c56dcdd
zsh_reload: fix code style and indent with tabs
8 years ago
Chris Fleming
9a71864288
Fix gpg-agent plugin checks ( #6469 )
...
* Always try and start gpg-agent, with --use-standard-socket it will try and use a standard socket directory. It won't start multiple agents if agent is already running. In addition, XDG_RUNTIME_DIR isn't always set
* ssh socket if broken if --daemon is run again, so onky start if we don't have a socket
* Removed unnecessary allocation of GPG_SSH_AUTH_SOCK
8 years ago
Marc Cornellà
d7948b39dc
[rkj-repos] Make `hg prompt` check less strict ( #6746 )
...
* [rkj-repos] Make `hg prompt` check less strict
Move the `hg prompt` check inside the hg_prompt_info function so that
it returns an empty string if hg-prompt isn't installed.
Fixes #6743 .
* [rkj-repos] Check for hg in `hg prompt` function
8 years ago
Marc Cornellà
6c9af4455d
Add exemplary custom theme folder
...
Co-authored-by: Profpatsch <mail@profpatsch.de>
8 years ago
Marc Cornellà
4fec0a46e7
[installer] use `command -v` to check for git
...
Quick fix to the script not finding git due to hash.
Solves #6697 .
8 years ago
安正超
86a0b86562
[cloud theme] add a space ( #3215 )
8 years ago
Darius Grigalevicius
5c047ae8ba
updated symfony plugin to add entity generation and schema update aliases ( #5042 )
8 years ago
Marc Cornellà
702b8b547f
Merge branch 'iBublik-feature/hanami-plugin'
...
Close #5268 .
8 years ago
Marc Cornellà
ef9044c722
Fix styling and format of hanami README
8 years ago
Artem Pyankov
7c62c57b9f
Add table of aliases for hanami plugin
8 years ago
Artem Pyankov
e64cdc9ec4
Add README for hanami plugin
8 years ago
Artem Pyankov
0bd9e5d859
Add hanami plugin inspired by rails
8 years ago
Erwan ROUSSEL
a8f3b374d8
npm init ( #6648 )
8 years ago
Marc Cornellà
cfec5d56df
[archlinux] add recent aliases and functions to readme
8 years ago
Marc Cornellà
25679182a4
Merge branch 'eepp-plugins-archlinux-more-stuff'
...
Closes #2552 .
8 years ago
Philippe Proulx
dc57d1881b
plugins/archlinux: add pacls, pacown, pacweb
8 years ago
Donncha Ó Cearbhaill
4fa4e5fe4a
Use HTTPS for manual git clone to avoid MITM ( #6043 )
...
The git:// transport is completely unauthenticated. An attacker on the local or upstream network can easily man-in-the-middle an oh-my-zsh update and get remote code execution on your system. Only the https:// git transport should be used.
8 years ago
Jacopo De Simoi
ccd02866f6
Fix git_commits_{ahead,before} when no upstream branch is defined ( #6658 )
...
If @{u} is not defined, git rev-list will give an error; redirect
to stderr the error and deal with this case in what follows.
8 years ago
Marc Cornellà
2fce6a0faf
[archlinux] Fix function syntax to avoid clashes with aliases
...
See https://bugs.debian.org/871816
Fixes #6592
8 years ago
cori schlegel
fa93ea0d75
[rkj-repos] Check for 'hg prompt' and exit if not found ( #6655 )
...
* Check for extension, and exit if not found. Addresses #6036
* Fix styles in rkj-repos.theme
8 years ago
Marc Cornellà
aa5279f2dc
Fix typo that resulted in math error ( #6731 )
...
[emotty] fix typo that resulted in math error
8 years ago
Alexis Hildebrandt
88d21fea6c
Improve emotty plugin ( #5999 )
...
* The display_emotty function show the name of the displayed emotty set
* Unless an emotty set was given show the emotty set configured
in $emotty_set
8 years ago
Alexis Hildebrandt
8e1cfc9154
Fix emotty theme when using zsh 5.2 ( #5998 )
...
see http://www.zsh.org/mla/workers/2015/msg03259.html
8 years ago
Arthur Brainville
30a5124f9d
Added trizen to the archlinux plugin ( #6650 )
...
* Added trizen to the archlinux plugin
trizen is the recomended solution for using the Arch User Repository.
both yaourt and pacaur have some issues.
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
* Add trizen aliases to the readme
Also fixed inconsistency in formatting on readme file.
(also added myself in the contributor list)
8 years ago
Cory Snider
f9d4a067ec
Reduce number of git calls when displaying prompt ( #3795 )
...
The avit theme's _git_time_since_commit function was running git twice.
Reduce it with a single call to `git log`, checking the exit code for
success.
8 years ago
Franz König
15d051c32b
hotfix for archlinux.plugin.zsh ( #5909 )
...
Co-authored-by: dalu <2694548+dalu@users.noreply.github.com>
8 years ago
Eric Hudon
2aa2ea744e
Change the br argument to branch to follow PR #6678 . ( #6680 )
8 years ago
Jean-Benoit Griesner
62b8a70a7c
Add Qwant engine - web_search plugin ( #6701 )
...
Co-authored-by: Maxime AURIAU <maxime.auriau@dnd.fr>
8 years ago
fREW Schmidt
9b1c21a409
Get rid of some silly copy pasta ( #3187 )
...
Said gem instead of vagrant
8 years ago
Lauri Lavanti
0cec462621
Add docker-compose start alias 'dcstart' ( #6675 )
8 years ago
Eric Hudon
5f2c34374b
Change the br action to branch to be more explicit. ( #6678 )
8 years ago
Quentin Revel
7ed82b4df6
Update _docker-compose to latest version ( #6315 )
8 years ago
Lauri Lavanti
ce23ef9a2f
Add alias for docker-compose pull ( #6665 )
8 years ago
Jon Mosco
e6e2b3d42f
kube-ps1 zsh prompt helper ( #6507 )
8 years ago
Andrea Giardini
afad3e1f8d
Add kubectl alias for apply ( #6662 )
8 years ago
Luke
7c2028e84e
Update/add kubectl logging commands ( #6639 )
8 years ago
Andrew Matheny
84e9066984
Update docker-compose autocompletion ( #6607 )
8 years ago
Nikolay Panov
52c4e134cc
Update django.plugin.zsh ( #6634 )
...
Added support for 'showmigrations' django command.
8 years ago
vadimkim
6d75f556e0
fix "kubectl logs" ( #6667 )
...
logs doesn't have "pods" parameter
8 years ago
Robby Russell
2ff9560ad3
Adding link to our other open source projects page
8 years ago
Vsevolod Romashov
37c2d0ddd7
add hanami to the list of wrapped gems ( #6334 )
8 years ago
Samuel BERTHE ツ
15a681d266
Adding whatthecommit to lol plugin ( #6289 )
8 years ago
David Leitner
3f654922de
Update extract.plugin.zsh ( #6516 )
8 years ago
Jake Stanley
8f5e5233fb
added stn create_project function for stubbing sublime-project files ( #6515 )
8 years ago
Michael Nikitochkin
e5dae3d331
add -auto-approve flag to terraform apply command ( #6558 )
8 years ago