Commit graph

109 commits

Author SHA1 Message Date
Oliver Davies c95a5105c9 Don't automatically run tmuxinator when starting
...a session
2024-05-12 10:40:50 +02:00
Oliver Davies 689c018bae Add update-all-git-repos
Add a script to update top-level cloned Git repositories within my Code
directories to their latest versions.
2024-05-11 01:55:59 +02:00
Oliver Davies b0b59d63c6 Update repo path 2024-05-09 12:57:45 +01:00
Oliver Davies 636d928fc8 Replace periods with underscores in session names 2024-05-06 10:53:20 +01:00
Oliver Davies e3dda9ade8 Add directories within /tmp 2024-05-04 21:43:40 +01:00
Oliver Davies b88be58190 Add ~/Code/work and ~/Code/personal to the
...suggestions
2024-05-04 19:02:32 +01:00
Oliver Davies 5ecf13ccb6 Update the suggested directories in bin/t 2024-05-04 01:34:16 +01:00
Oliver Davies fd6b1f4a75 Simplify code repository directory structure 2024-05-03 23:38:32 +01:00
Oliver Davies cf71b2b6bb Restructure GitLab repository structure 2024-04-24 23:17:16 +01:00
Oliver Davies e8835f858e Add commands to start and stop Traefik 2024-04-23 22:28:51 +01:00
Oliver Davies 5a38fdcb88 Include GitLab repositories are within multi-level
...directories
2024-04-09 23:18:05 +01:00
Oliver Davies c99564fff5 Remove support for .tmuxinator.yml files
Only support .tmuxinator.yaml files
2024-04-01 20:41:09 +01:00
Oliver Davies 488f70aab2 Add support for .tmuxinator.yaml files 2024-03-30 22:15:32 +00:00
Oliver Davies a6a81f0cd6 Support tmuxinator configurations in .ignored
Also use tmuxinator if the `.tmuxinator.yml` file is within a `.ignored`
directory and ignored from Git.
2024-03-27 08:53:34 +00:00
Oliver Davies f2db3d29f7 Enable tmuxinator
This is a potential replacement for my custom `.tmux` files.
2024-03-26 20:45:02 +00:00
Oliver Davies 529d1a7ce7 Replace watch-changes script with watchexec 2024-02-14 17:44:52 +00:00
Oliver Davies 3d24bce0d9 Don't show any directories ending in "-old" 2024-01-25 18:23:38 +00:00
Oliver Davies 1d11adfe94 Only show top-level directories within ~/Code/tmp 2024-01-25 18:07:51 +00:00
Oliver Davies 34a8cce318 Add and configure dunst for battery notifications 2023-12-28 12:28:41 +00:00
Oliver Davies c600c30e22 Revert "Use zoxide to provide paths to fzf"
This reverts commit 54fdbd71d9.
2023-12-19 20:50:12 +00:00
Oliver Davies 7832d6b0b6 Update the t script 2023-12-19 15:28:12 +00:00
Oliver Davies 12001b588a Update the t script 2023-12-19 10:54:31 +00:00
Oliver Davies bb64b892aa work with .tmux files 2023-12-15 00:00:37 +00:00
Oliver Davies 54fdbd71d9 Use zoxide to provide paths to fzf 2023-12-11 21:25:23 +00:00
Oliver Davies 5daa6f85af Use autorandr for monitor management 2023-12-07 09:11:42 +00:00
Oliver Davies ee43ad3333 fix(scripts): make monitor mode configurable 2023-11-21 23:15:06 +00:00
Oliver Davies c5ab97079a fix(scripts): make monitor ID configurable 2023-11-21 07:53:29 +00:00
Oliver Davies ddd32822b1 feat(scripts): add git-bare-clone 2023-11-14 21:17:26 +00:00
Oliver Davies 5303c1ae9c fix(scripts): fix incorrect item 2023-11-04 20:21:13 +00:00
Oliver Davies ea6a382edc feat(scripts): add git-sync 2023-10-11 18:42:05 +01:00
Oliver Davies 5763900b5f fix(scripts): vendor files causing reloads
Ignore the `vendor` directory and some others as it was causing the
script to reload when it wasn't expected.

Whilst I'd expect it to be ignored if I specified the path to look at as
something like `web/modules/custom`, but it still seems to trigger the
command and it seems a lot more stable since adding this.
2023-10-03 18:14:37 +01:00
Oliver Davies b659f491ea fix(scripts): shebang and exit code 2023-09-02 10:41:00 +01:00
Oliver Davies 43a1ad8592 chore(zsh): remove dev and develop
These aren't needed since adding `direnv`.
2023-08-30 13:30:30 +01:00
Oliver Davies e53561fb85 fix(scripts): don't stop watching on error 2023-08-22 23:05:06 +01:00
Oliver Davies 7fecbc9343 feat(scripts): add watch-changes
Based on 2d235c4c71/bin/watch-changes.
2023-08-21 23:17:36 +01:00
Oliver Davies 624faf959c refactor: restructure my Code directory
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
2023-08-07 09:53:33 +01:00
Oliver Davies dae27fdef8 fix(scripts): use Flake by default if it exists 2023-07-20 09:26:31 +01:00
Oliver Davies 648e9ee023 feat(scripts): add develop
Add a `develop` script that runs either Docker Compose or Nix depending
on which files are present within the repository.

Also add a `dev` alias for the `develop` script.
2023-07-19 11:38:50 +01:00
Oliver Davies 9980f80e0b feat(scripts): name the service name configurable 2023-07-18 20:51:41 +01:00
Oliver Davies 0348b260be refactor(new-drupal-module): use git 2023-07-09 16:34:53 +01:00
Oliver Davies 93e04a554b feat: add new-drupal-module
Create a new Drupal module based on my Drupal Module template -
https://github.com/opdavies/drupal-module-template
2023-07-09 12:27:16 +01:00
Oliver Davies 0eee846185 fix(scripts): update paths 2023-06-13 19:57:25 +01:00
Oliver Davies 1cc14b6a80 feat(scripts): push with --no-verify 2023-06-13 19:52:32 +01:00
Oliver Davies 5c077db0e5 chore(tag-release): add output message 2023-05-16 19:56:05 +01:00
Oliver Davies 47e2189487 fix(tag-release): accept no arguments
HEAD should be used as the default value if no value is passed for the
SHA value.
2023-05-16 19:55:31 +01:00
Oliver Davies fdd48ba14d feat(scripts): stop all Docker containers 2023-05-10 12:36:54 +01:00
Oliver Davies 575e0f694b fix(tmux): find warning when using t function
Fixes #51
2023-04-24 19:28:35 +01:00
Oliver Davies 455cbf3bfc feat: add import-gzip-database script 2023-04-16 20:54:26 +01:00
Oliver Davies 140b9c13a0 feat: add create-script and tag-release 2023-04-14 10:20:44 +01:00
Oliver Davies 3d10ad02db chore: delete unused bin scripts 2023-04-14 10:06:23 +01:00