Commit Graph

309 Commits

Author SHA1 Message Date
0be93c3520 Ignore symlink to git hooks
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 19:22:05 +01:00
9718fb26ba Do not install php tools on composer update
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 19:21:05 +01:00
72c0f1b3c8 More updates
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 19:17:46 +01:00
99533ff670 Update
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 18:42:28 +01:00
4ddeb426d2 Make xdebug version-aware
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 18:36:49 +01:00
a6973ace15 Update for Python 3
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-01-06 18:28:35 +01:00
Jacob Kiers
2755650734 More tools and improvements
Signed-off-by: Jacob Kiers <kiers@comandi.nl>
2017-12-08 18:36:39 +01:00
Jacob Kiers
4b36c35285 Add better bash completion support
Now it is easy to add new completion scripts: just drop them in the
bash_completion.d directory.

Signed-off-by: Jacob Kiers <kiers@comandi.nl>
2017-12-08 18:33:28 +01:00
Jacob Kiers
12ba7965a4 Add a better XDebug command
Signed-off-by: Jacob Kiers <kiers@comandi.nl>
2017-12-08 18:30:50 +01:00
Jacob Kiers
a67b2ace9e Add more tools to auto-install
Signed-off-by: Jacob Kiers <kiers@comandi.nl>
2017-12-08 18:30:32 +01:00
2559f7b69e Add command to gist something
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-06-08 16:08:54 +02:00
1ef3690fbc Install apps when reinstalling OS.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-06-08 16:07:57 +02:00
Jacob Kiers
2cdb12a071 Remove includes/bash_ssh.bash
The automatic SSH agent functionality did not work correctly. Therefore,
it is removed.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:09:35 +02:00
Jacob Kiers
116fcc44c4 Use new update script for dotfiles
This script will also install composer, set up the git hooks and install
some global dependencies.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:08:20 +02:00
Jacob Kiers
ebddd9bb7f Add git pre-commit hook
The pre-commit hook will lint-check the added PHP files and also check
their CS.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:07:08 +02:00
Jacob Kiers
38a0a2fa3d Update jq
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 11:59:36 +02:00
b21c4e4d12 Add some more gitconfig shortcuts
These just make some things a little easier when a repository is
directly cloned.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-04-10 13:53:10 +00:00
3cbff4da78 Improve setup-server
The order of parameters is now changed to make it easier when deploying
to a lot of servers.

Also, it introduces the concept of a friendly name, which is useful when
DNS is not available for a specific host. Instead of being forced to
have the alias be the same as the IP address, it can now be named.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-04-10 13:51:06 +00:00
Jacob Kiers
1415dec58b Add SSH Agent startup.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-04-07 11:38:01 +02:00
Jacob Kiers
9a9d1beb88 Make sure server exists in ~/.ssh/config
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-02-02 15:44:56 +01:00
Jacob Kiers
b3e4231ae0 Change order of $PATH
First use ./vendor/bin, then $COMPOSER_HOME/vendor/bin and only then
$HOME/dotfiles/bin, so that local commands are executed first.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:27:49 +01:00
Jacob Kiers
79074be926 Improve bin/xdebug to use command from path.
It uses the `which` command to find the command that you actually want
to run, and runs that.

This makes it possible to run any php binary (like phpunit or phing)
with xdebug.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:25:03 +01:00
Jacob Kiers
ba33a48144 Update composer to the latest version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:24:34 +01:00
Jacob Kiers
882d2087cc Add alias 'gitclean'
It removes all branches that are already merged into the master branch.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:23:55 +01:00
Jacob Kiers
5c5efbe77d Added script to setup environment on a new server.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 18:21:04 +01:00
Jacob Kiers
9eaea22b9f Add <pwd>/vendor/bin to $PATH.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:47:39 +01:00
Jacob Kiers
f3c4c0275a Add XDebug launcher.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:43 +01:00
Jacob Kiers
bb4576886d Update composer to latest version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:22 +01:00
Jacob Kiers
0e4fd52450 Fix the clone URL for installation.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-12-23 11:24:55 +01:00
eb61134f29 First make sure that a battery is present.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 10:07:51 +02:00
e194d43baa Update composer to the latest version.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:59:37 +02:00
1aa504dda8 Add script to test a git sequence of commits.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:59:19 +02:00
43585e1519 Add script to show battery status.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:58:48 +02:00
5da5ecef49 Ignore the Atlassian configs by default.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:57:54 +02:00
2c4229696e Add the Go language on OS X.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:57:20 +02:00
bdc6a5856b Add global composer vendors to bin path.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:56:55 +02:00
56a65c36c5 Improve aliases and autocompletion.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:55:13 +02:00
5e9e061e4f Make sure the repo is clean before releasing.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:47:21 +02:00
8e3b0a28e9 Update composer.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:11:25 +02:00
fd237f2e62 Fix terminal title for paths with spaces.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:10:54 +02:00
fb10240506 Split off bash completion.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:10:23 +02:00
646138bb6b Use local jq if available on Mac.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:09:27 +02:00
Jacob Kiers
f91e0e90ab Changed git shortcuts.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-13 13:41:37 +02:00
Jacob Kiers
e534a8de0e Automatically autocorrect misspelled git commands. 2014-05-08 11:52:48 +02:00
Jacob Kiers
b36abc6f30 Add jq for linux.
jq is a JSON parser. It is used by the release script.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-08 08:36:08 +02:00
Jacob Kiers
8358cb6759 git: Change push.default to upstream.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-08 08:35:56 +02:00
Jacob Kiers
bfa37857c6 Added bin/wav2alaw
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-07 07:53:02 +02:00
Jacob Kiers
3d9e4513a3 Force vim in foreground mode when using git.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-06 21:35:45 +02:00
Jacob Kiers
7d4c9b54e7 bin/release: also check git tags for current version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-05 16:16:51 +02:00
Jacob Kiers
cfd3316811 Automatically prune when fetching.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-05 16:15:49 +02:00