94baa9eadd
Simplify `if' into oneliner, allow spaces in HISTFILE
2018-04-22 15:32:01 +02:00
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
dd39d43021
Merge pull request #5601 from mcornella/refactor-zsh_reload-plugin
...
Refactor zsh_reload plugin
2018-04-22 12:59:40 +02:00
fbbe902c38
zsh_reload: add README
2018-04-22 12:55:21 +02:00
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`.
2018-04-22 12:55:13 +02:00
8706c8eb64
zsh_reload: ignore insecure compinit files
2018-04-22 12:50:00 +02:00
9a7c56dcdd
zsh_reload: fix code style and indent with tabs
2018-04-22 12:50:00 +02:00
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
2018-04-21 22:26:36 +02:00
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
2018-04-19 23:32:53 +02:00
6c9af4455d
Add exemplary custom theme folder
...
Co-authored-by: Profpatsch <mail@profpatsch.de >
2018-04-19 21:03:52 +02:00
4fec0a46e7
[installer] use command -v
to check for git
...
Quick fix to the script not finding git due to hash.
Solves #6697 .
2018-04-17 22:14:23 +02:00
86a0b86562
[cloud theme] add a space ( #3215 )
2018-04-17 21:34:03 +02:00
5c047ae8ba
updated symfony plugin to add entity generation and schema update aliases ( #5042 )
2018-04-15 21:55:47 +02:00
702b8b547f
Merge branch 'iBublik-feature/hanami-plugin'
...
Close #5268 .
2018-04-15 20:26:18 +02:00
ef9044c722
Fix styling and format of hanami README
2018-04-15 20:25:50 +02:00
7c62c57b9f
Add table of aliases for hanami plugin
2018-04-15 20:08:52 +02:00
e64cdc9ec4
Add README for hanami plugin
2018-04-15 20:08:52 +02:00
0bd9e5d859
Add hanami plugin inspired by rails
2018-04-15 20:08:51 +02:00
a8f3b374d8
npm init ( #6648 )
2018-04-15 19:54:42 +02:00
cfec5d56df
[archlinux] add recent aliases and functions to readme
2018-04-15 19:18:25 +02:00
25679182a4
Merge branch 'eepp-plugins-archlinux-more-stuff'
...
Closes #2552 .
2018-04-15 19:14:18 +02:00
dc57d1881b
plugins/archlinux: add pacls, pacown, pacweb
2018-04-15 19:13:39 +02:00
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.
2018-04-15 18:47:38 +02:00
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.
2018-04-15 18:44:48 +02:00
2fce6a0faf
[archlinux] Fix function syntax to avoid clashes with aliases
...
See https://bugs.debian.org/871816
Fixes #6592
2018-04-15 15:53:43 +02:00
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
2018-04-15 15:48:31 +02:00
aa5279f2dc
Fix typo that resulted in math error ( #6731 )
...
[emotty] fix typo that resulted in math error
2018-04-15 15:20:26 +02:00
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
2018-04-15 15:16:44 +02:00
8e1cfc9154
Fix emotty theme when using zsh 5.2 ( #5998 )
...
see http://www.zsh.org/mla/workers/2015/msg03259.html
2018-04-15 15:16:28 +02:00
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)
2018-04-15 14:47:08 +02:00
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.
2018-04-15 14:45:58 +02:00
15d051c32b
hotfix for archlinux.plugin.zsh ( #5909 )
...
Co-authored-by: dalu <2694548+dalu@users.noreply.github.com >
2018-04-15 13:38:25 +02:00
2aa2ea744e
Change the br argument to branch to follow PR #6678 . ( #6680 )
2018-04-15 13:17:23 +02:00
62b8a70a7c
Add Qwant engine - web_search plugin ( #6701 )
...
Co-authored-by: Maxime AURIAU <maxime.auriau@dnd.fr >
2018-04-06 19:09:00 +02:00
9b1c21a409
Get rid of some silly copy pasta ( #3187 )
...
Said gem instead of vagrant
2018-04-02 13:43:41 +02:00
afb028763c
MOdified README to reflect changes for myissues command
2018-03-27 09:16:43 -04:00
132bffcbe1
Added a myissues option
...
This will allow the user to directly open the my open issues page. This
will make it easier for the user to open his open issues in jira.
2018-03-26 21:04:27 -04:00
0cec462621
Add docker-compose start alias 'dcstart' ( #6675 )
2018-03-18 14:10:58 -07:00
5f2c34374b
Change the br action to branch to be more explicit. ( #6678 )
2018-03-18 14:10:34 -07:00
7ed82b4df6
Update _docker-compose to latest version ( #6315 )
2018-03-09 08:16:15 -08:00
ce23ef9a2f
Add alias for docker-compose pull ( #6665 )
2018-03-09 08:14:51 -08:00
e6e2b3d42f
kube-ps1 zsh prompt helper ( #6507 )
2018-03-09 08:14:36 -08:00
afad3e1f8d
Add kubectl alias for apply ( #6662 )
2018-03-09 08:14:09 -08:00
7c2028e84e
Update/add kubectl logging commands ( #6639 )
2018-03-09 08:12:42 -08:00
84e9066984
Update docker-compose autocompletion ( #6607 )
2018-03-09 08:11:52 -08:00
52c4e134cc
Update django.plugin.zsh ( #6634 )
...
Added support for 'showmigrations' django command.
2018-03-09 08:11:30 -08:00
6d75f556e0
fix "kubectl logs" ( #6667 )
...
logs doesn't have "pods" parameter
2018-03-09 08:11:09 -08:00
2ff9560ad3
Adding link to our other open source projects page
2018-02-23 12:58:12 -08:00
37c2d0ddd7
add hanami to the list of wrapped gems ( #6334 )
2018-01-22 19:35:17 -08:00
15a681d266
Adding whatthecommit to lol plugin ( #6289 )
2018-01-22 19:25:15 -08:00