mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-18 19:55:02 +00:00
chore(lint): prettier
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
1
.github/workflows/linters.yml
vendored
1
.github/workflows/linters.yml
vendored
@@ -19,7 +19,6 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: GitHub Actions
|
- name: GitHub Actions
|
||||||
|
|||||||
6
.github/workflows/pre-commit-autoupdate.yml
vendored
6
.github/workflows/pre-commit-autoupdate.yml
vendored
@@ -5,7 +5,7 @@ name: Pre-commit autoupdate
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# At 04:00 on Monday and Thursday.
|
# At 04:00 on Monday and Thursday.
|
||||||
- cron: "0 4 * * 1,4"
|
- cron: '0 4 * * 1,4'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -33,6 +33,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: update/pre-commit-hooks
|
branch: update/pre-commit-hooks
|
||||||
title: "chore: update pre-commit hooks"
|
title: 'chore: update pre-commit hooks'
|
||||||
commit-message: "chore: update pre-commit hooks"
|
commit-message: 'chore: update pre-commit hooks'
|
||||||
body: Update versions of pre-commit hooks to latest version.
|
body: Update versions of pre-commit hooks to latest version.
|
||||||
|
|||||||
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@@ -11,7 +11,7 @@ on:
|
|||||||
- .github/workflows/sync-labels.yml
|
- .github/workflows/sync-labels.yml
|
||||||
- .github/labels.yml
|
- .github/labels.yml
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "34 5 * * *"
|
- cron: '34 5 * * *'
|
||||||
workflow_call:
|
workflow_call:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|||||||
3
.github/workflows/update-submodules.yml
vendored
3
.github/workflows/update-submodules.yml
vendored
@@ -5,7 +5,7 @@ name: Update submodules
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# At 04:00 on Monday and Thursday.
|
# At 04:00 on Monday and Thursday.
|
||||||
- cron: "0 4 * * 1"
|
- cron: '0 4 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -21,7 +21,6 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{
|
{
|
||||||
"diagnostics.globals": [
|
"diagnostics.globals": ["vim"]
|
||||||
"vim"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
# supported_envs:
|
# supported_envs:
|
||||||
# - all
|
# - all
|
||||||
registries:
|
registries:
|
||||||
- type: standard
|
- type: standard
|
||||||
ref: v4.346.0 # renovate: depName=aquaproj/aqua-registry
|
ref: v4.346.0 # renovate: depName=aquaproj/aqua-registry
|
||||||
packages:
|
packages:
|
||||||
- name: cli/cli
|
- name: cli/cli
|
||||||
version: 'v2.69.0'
|
version: 'v2.69.0'
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ cheatpaths:
|
|||||||
path: ~/.dotfiles/config/cheat/cheatsheets/personal
|
path: ~/.dotfiles/config/cheat/cheatsheets/personal
|
||||||
tags: [personal]
|
tags: [personal]
|
||||||
readonly: false
|
readonly: false
|
||||||
|
|
||||||
# While it requires no configuration here, it's also worth noting that
|
# While it requires no configuration here, it's also worth noting that
|
||||||
# cheat will automatically append directories named '.cheat' within the
|
# cheat will automatically append directories named '.cheat' within the
|
||||||
# current working directory to the 'cheatpath'. This can be very useful if
|
# current working directory to the 'cheatpath'. This can be very useful if
|
||||||
|
|||||||
@@ -112,9 +112,7 @@
|
|||||||
{
|
{
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "lightGreen",
|
"foreground": "lightGreen",
|
||||||
"foreground_templates": [
|
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
||||||
"{{ if gt .Code 0 }}red{{ end }}"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"always_enabled": true
|
"always_enabled": true
|
||||||
},
|
},
|
||||||
@@ -129,9 +127,7 @@
|
|||||||
"transient_prompt": {
|
"transient_prompt": {
|
||||||
"background": "transparent",
|
"background": "transparent",
|
||||||
"foreground": "lightGreen",
|
"foreground": "lightGreen",
|
||||||
"foreground_templates": [
|
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
||||||
"{{ if gt .Code 0 }}red{{ end }}"
|
|
||||||
],
|
|
||||||
"template": "\u279c "
|
"template": "\u279c "
|
||||||
},
|
},
|
||||||
"version": 2
|
"version": 2
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
{
|
{
|
||||||
"account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI",
|
"account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI",
|
||||||
"entrypoint": [
|
"entrypoint": ["gh"],
|
||||||
"gh"
|
"credentials": [
|
||||||
],
|
{
|
||||||
"credentials": [
|
"plugin": "github",
|
||||||
{
|
"credential_type": "personal_access_token",
|
||||||
"plugin": "github",
|
"usage_id": "personal_access_token",
|
||||||
"credential_type": "personal_access_token",
|
"vault_id": "injcin7obv3jdet3r2u3kfihfy",
|
||||||
"usage_id": "personal_access_token",
|
"item_id": "f6vinbnc6l7ngdzvlw66ayewlq"
|
||||||
"vault_id": "injcin7obv3jdet3r2u3kfihfy",
|
}
|
||||||
"item_id": "f6vinbnc6l7ngdzvlw66ayewlq"
|
]
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1 +1,7 @@
|
|||||||
[{"account_id":"S5Z2DMNFKJEZBPCWRHRWC4DCGI","vault_id":"injcin7obv3jdet3r2u3kfihfy","item_id":"f6vinbnc6l7ngdzvlw66ayewlq"}]
|
[
|
||||||
|
{
|
||||||
|
"account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI",
|
||||||
|
"vault_id": "injcin7obv3jdet3r2u3kfihfy",
|
||||||
|
"item_id": "f6vinbnc6l7ngdzvlw66ayewlq"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|||||||
@@ -2,64 +2,64 @@
|
|||||||
|
|
||||||
## main
|
## main
|
||||||
|
|
||||||
| Key | Command(s) and actions |
|
| Key | Command(s) and actions |
|
||||||
|-----------------|-----------------------------------------------|
|
| -------------- | -------------------------------------------- |
|
||||||
| alt-a | mode apps |
|
| alt-a | mode apps |
|
||||||
| alt-h | focus left |
|
| alt-h | focus left |
|
||||||
| alt-j | focus down |
|
| alt-j | focus down |
|
||||||
| alt-k | focus up |
|
| alt-k | focus up |
|
||||||
| alt-l | focus right |
|
| alt-l | focus right |
|
||||||
| alt-m | mode move |
|
| alt-m | mode move |
|
||||||
| alt-s | mode service |
|
| alt-s | mode service |
|
||||||
| alt-shift-1 | workspace 1 |
|
| alt-shift-1 | workspace 1 |
|
||||||
| alt-shift-2 | workspace 2 |
|
| alt-shift-2 | workspace 2 |
|
||||||
| alt-shift-tab | workspace-back-and-forth |
|
| alt-shift-tab | workspace-back-and-forth |
|
||||||
| ctrl-shift-1 | move-node-to-workspace 1 |
|
| ctrl-shift-1 | move-node-to-workspace 1 |
|
||||||
| ctrl-shift-2 | move-node-to-workspace 2 |
|
| ctrl-shift-2 | move-node-to-workspace 2 |
|
||||||
| ctrl-shift-tab | move-workspace-to-monitor --wrap-around prev |
|
| ctrl-shift-tab | move-workspace-to-monitor --wrap-around prev |
|
||||||
|
|
||||||
## apps
|
## apps
|
||||||
|
|
||||||
| Key | Command(s) and actions |
|
| Key | Command(s) and actions |
|
||||||
|------|----------------------------------------------------------------------|
|
| --- | ------------------------------------------------------------------ |
|
||||||
| b | exec-and-forget open -a /Applications/Brave Browser.app; mode main |
|
| b | exec-and-forget open -a /Applications/Brave Browser.app; mode main |
|
||||||
| c | exec-and-forget open -a /Applications/Ferdium.app; mode main |
|
| c | exec-and-forget open -a /Applications/Ferdium.app; mode main |
|
||||||
| esc | reload-config; mode main |
|
| esc | reload-config; mode main |
|
||||||
| g | exec-and-forget open -a /Applications/Ghostty.app; mode main |
|
| g | exec-and-forget open -a /Applications/Ghostty.app; mode main |
|
||||||
| o | exec-and-forget open -a /Applications/Obsidian.app; mode main |
|
| o | exec-and-forget open -a /Applications/Obsidian.app; mode main |
|
||||||
| s | exec-and-forget open -a /Applications/Slack.app; mode main |
|
| s | exec-and-forget open -a /Applications/Slack.app; mode main |
|
||||||
| t | exec-and-forget open -a /Applications/TIDAL.app; mode main |
|
| t | exec-and-forget open -a /Applications/TIDAL.app; mode main |
|
||||||
| w | exec-and-forget open -a /Applications/WezTerm.app; mode main |
|
| w | exec-and-forget open -a /Applications/WezTerm.app; mode main |
|
||||||
|
|
||||||
## move
|
## move
|
||||||
|
|
||||||
| Key | Command(s) and actions |
|
| Key | Command(s) and actions |
|
||||||
|--------------|--------------------------------------------------|
|
| ----------- | ----------------------------------------------- |
|
||||||
| 1 | move-node-to-workspace 1 --focus-follows-window |
|
| 1 | move-node-to-workspace 1 --focus-follows-window |
|
||||||
| 2 | move-node-to-workspace 2 --focus-follows-window |
|
| 2 | move-node-to-workspace 2 --focus-follows-window |
|
||||||
| ctrl-h | resize smart -70 |
|
| ctrl-h | resize smart -70 |
|
||||||
| ctrl-l | resize smart +70 |
|
| ctrl-l | resize smart +70 |
|
||||||
| esc | reload-config; mode main |
|
| esc | reload-config; mode main |
|
||||||
| h | move left |
|
| h | move left |
|
||||||
| j | move down |
|
| j | move down |
|
||||||
| k | move up |
|
| k | move up |
|
||||||
| l | move right |
|
| l | move right |
|
||||||
| r | flatten-workspace-tree; mode main |
|
| r | flatten-workspace-tree; mode main |
|
||||||
| shift-h | join-with left |
|
| shift-h | join-with left |
|
||||||
| shift-j | join-with down |
|
| shift-j | join-with down |
|
||||||
| shift-k | join-with up |
|
| shift-k | join-with up |
|
||||||
| shift-l | join-with right |
|
| shift-l | join-with right |
|
||||||
| shift-left | resize smart +70 |
|
| shift-left | resize smart +70 |
|
||||||
| shift-right | resize smart -70 |
|
| shift-right | resize smart -70 |
|
||||||
|
|
||||||
## service
|
## service
|
||||||
|
|
||||||
| Key | Command(s) and actions |
|
| Key | Command(s) and actions |
|
||||||
|------------|-------------------------------------------|
|
| --------- | ---------------------------------------- |
|
||||||
| backspace | close-all-windows-but-current; mode main |
|
| backspace | close-all-windows-but-current; mode main |
|
||||||
| esc | reload-config; mode main |
|
| esc | reload-config; mode main |
|
||||||
| f | layout floating tiling; mode main |
|
| f | layout floating tiling; mode main |
|
||||||
| r | flatten-workspace-tree; mode main |
|
| r | flatten-workspace-tree; mode main |
|
||||||
|
|
||||||
File generated: 2025-01-15 13:32:41
|
File generated: 2025-01-15 13:32:41
|
||||||
|
|
||||||
|
|||||||
@@ -2,51 +2,51 @@
|
|||||||
|
|
||||||
This file lists all aliases defined in `config/alias`.
|
This file lists all aliases defined in `config/alias`.
|
||||||
|
|
||||||
| Alias | Command |
|
| Alias | Command |
|
||||||
| ------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
| ------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
|
||||||
| `....` | `cd ../../..` |
|
| `....` | `cd ../../..` |
|
||||||
| `...` | `cd ../..` |
|
| `...` | `cd ../..` |
|
||||||
| `..` | `cd ..` |
|
| `..` | `cd ..` |
|
||||||
| `.` | `cd $HOME` |
|
| `.` | `cd $HOME` |
|
||||||
| `.b` | `cd $XDG_BIN_HOME` |
|
| `.b` | `cd $XDG_BIN_HOME` |
|
||||||
| `.c` | `cd $HOME/Code` |
|
| `.c` | `cd $HOME/Code` |
|
||||||
| `.d` | `cd $DOTFILES` |
|
| `.d` | `cd $DOTFILES` |
|
||||||
| `.l` | `cd $HOME/.local` |
|
| `.l` | `cd $HOME/.local` |
|
||||||
| `.o` | `cd $HOME/Code/ivuorinen/obsidian/` |
|
| `.o` | `cd $HOME/Code/ivuorinen/obsidian/` |
|
||||||
| `art` | `[ -f artisan ] && php artisan \|\| php vendor/bin/artisan` |
|
| `art` | `[ -f artisan ] && php artisan \|\| php vendor/bin/artisan` |
|
||||||
| `cd..` | `cd ..` |
|
| `cd..` | `cd ..` |
|
||||||
| `cdgr` | `cd "$(get_git_root)"` |
|
| `cdgr` | `cd "$(get_git_root)"` |
|
||||||
| `dn` | `du -chd1` |
|
| `dn` | `du -chd1` |
|
||||||
| `flush` | `dscacheutil -flushcache` |
|
| `flush` | `dscacheutil -flushcache` |
|
||||||
| `grep` | `grep --color` |
|
| `grep` | `grep --color` |
|
||||||
| `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` |
|
| `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` |
|
||||||
| `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\|[a-fA-F0-9:]\+\)' \| sed -e 's/inet6* //' \| sort` |
|
| `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\ | [a-fA-F0-9:]\+\)' \| sed -e 's/inet6\* //' \| sort` |
|
||||||
| `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` |
|
| `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` |
|
||||||
| `isodate` | `date +'%Y-%m-%d'` |
|
| `isodate` | `date +'%Y-%m-%d'` |
|
||||||
| `l` | `ls -a` |
|
| `l` | `ls -a` |
|
||||||
| `ll` | `ls -la` |
|
| `ll` | `ls -la` |
|
||||||
| `localip` | `ipconfig getifaddr en1` |
|
| `localip` | `ipconfig getifaddr en1` |
|
||||||
| `mirror_site` | `wget -m -k -K -E -e robots=off` |
|
| `mirror_site` | `wget -m -k -K -E -e robots=off` |
|
||||||
| `peek` | `tee >(cat 1>&2)` |
|
| `peek` | `tee >(cat 1>&2)` |
|
||||||
| `pubkey` | `more ~/.ssh/id_rsa.pub \| pbcopy \| echo '=> Public key copied to pasteboard.'` |
|
| `pubkey` | `more ~/.ssh/id_rsa.pub \| pbcopy \| echo '=> Public key copied to pasteboard.'` |
|
||||||
| `sail` | `[ -f sail ] && bash sail \|\| bash vendor/bin/sail` |
|
| `sail` | `[ -f sail ] && bash sail \|\| bash vendor/bin/sail` |
|
||||||
| `show` | `defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder` |
|
| `show` | `defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder` |
|
||||||
| `sl` | `ls` |
|
| `sl` | `ls` |
|
||||||
| `svn` | `svn --config-dir $XDG_CONFIG_HOME/subversion` |
|
| `svn` | `svn --config-dir $XDG_CONFIG_HOME/subversion` |
|
||||||
| `trivy_scan` | `docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy` |
|
| `trivy_scan` | `docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy` |
|
||||||
| `updatedb` | `sudo /usr/libexec/locate.updatedb` |
|
| `updatedb` | `sudo /usr/libexec/locate.updatedb` |
|
||||||
| `vi` | `nvim` |
|
| `vi` | `nvim` |
|
||||||
| `vim` | `nvim` |
|
| `vim` | `nvim` |
|
||||||
| `watchx` | `watch -dpbc` |
|
| `watchx` | `watch -dpbc` |
|
||||||
| `wget` | `wget --hsts-file=$XDG_DATA_HOME/wget-hsts` |
|
| `wget` | `wget --hsts-file=$XDG_DATA_HOME/wget-hsts` |
|
||||||
| `x-datetime` | `date +'%Y-%m-%d %H:%M:%S'` |
|
| `x-datetime` | `date +'%Y-%m-%d %H:%M:%S'` |
|
||||||
| `x-ip` | `dig +short myip.opendns.com @resolver1.opendns.com` |
|
| `x-ip` | `dig +short myip.opendns.com @resolver1.opendns.com` |
|
||||||
| `x-timestamp` | `date +'%s'` |
|
| `x-timestamp` | `date +'%s'` |
|
||||||
| `xdg` | `xdg-ninja --skip-ok --skip-unsupported` |
|
| `xdg` | `xdg-ninja --skip-ok --skip-unsupported` |
|
||||||
| `zapall` | `zapds && zappyc` |
|
| `zapall` | `zapds && zappyc` |
|
||||||
| `zapds` | `find . -name ".DS_Store" -print -delete` |
|
| `zapds` | `find . -name ".DS_Store" -print -delete` |
|
||||||
| `zappyc` | `find . -type f -name '*.pyc' -ls -delete` |
|
| `zappyc` | `find . -type f -name '*.pyc' -ls -delete` |
|
||||||
| `zedit` | `$EDITOR ~/.dotfiles` |
|
| `zedit` | `$EDITOR ~/.dotfiles` |
|
||||||
|
|
||||||
Total aliases: 43
|
Total aliases: 43
|
||||||
Last updated: Fri 17 Jan 2025 13:06:59 EET
|
Last updated: Fri 17 Jan 2025 13:06:59 EET
|
||||||
|
|||||||
@@ -87,4 +87,3 @@ Leader: `<ctrl><space>`
|
|||||||
S-Left Move the visible part of the window left
|
S-Left Move the visible part of the window left
|
||||||
S-Right Move the visible part of the window right
|
S-Right Move the visible part of the window right
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -277,4 +277,4 @@ Mouse: alt_screen
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- Generated on Thu 2 Jan 2025 17:41:13 EET
|
- Generated on Thu 2 Jan 2025 17:41:13 EET
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Some problematic code has been fixed per `shellcheck` suggestions.
|
|||||||
## Sourced
|
## Sourced
|
||||||
|
|
||||||
| Script | Source |
|
| Script | Source |
|
||||||
|-------------------------|-------------------|
|
| ----------------------- | ----------------- |
|
||||||
| `x-dupes` | skx/sysadmin-util |
|
| `x-dupes` | skx/sysadmin-util |
|
||||||
| `x-foreach` | mvdan/dotfiles |
|
| `x-foreach` | mvdan/dotfiles |
|
||||||
| `x-multi-ping` | skx/sysadmin-util |
|
| `x-multi-ping` | skx/sysadmin-util |
|
||||||
|
|||||||
Reference in New Issue
Block a user