mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-02 17:48:10 +00:00
Compare commits
28 Commits
codex/2025
...
25.8.13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
125fd027f7 | ||
|
|
ecd099edbd | ||
| 3baa7547e1 | |||
|
|
782eeb78ec | ||
|
|
7b211489fd | ||
| d3ec2e7332 | |||
|
|
0b11f6456a | ||
|
|
58064a7b9b | ||
|
|
4723d5c61c | ||
|
|
4e0e4b8883 | ||
|
|
5b6f43e22f | ||
| ca594f9b2d | |||
| 685a843d78 | |||
| 470acd8956 | |||
| a6907d890e | |||
|
|
c37fdb7cd3 | ||
| bad1ce2a34 | |||
| e67d4285b6 | |||
| f577ad28a9 | |||
|
|
e9ac5e48ac | ||
|
|
cc01f4fdde | ||
| 52a5f226e9 | |||
|
|
9b94302270 | ||
|
|
fe7e9173d0 | ||
|
|
fb5aae3deb | ||
| 036392d38a | |||
| 2cb11292d4 | |||
| a163d6338a |
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"Version": "2.7.0",
|
"Version": "v3.3.0",
|
||||||
"Verbose": false,
|
"Verbose": false,
|
||||||
"Debug": false,
|
"Debug": false,
|
||||||
"IgnoreDefaults": false,
|
"IgnoreDefaults": false,
|
||||||
"SpacesAftertabs": false,
|
"SpacesAfterTabs": false,
|
||||||
"NoColor": false,
|
"NoColor": false,
|
||||||
"Exclude": [],
|
"Exclude": [],
|
||||||
"AllowedContentTypes": [],
|
"AllowedContentTypes": [],
|
||||||
2
.github/workflows/changelog.yml
vendored
2
.github/workflows/changelog.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
|
||||||
- name: Create changelog text
|
- name: Create changelog text
|
||||||
id: changelog
|
id: changelog
|
||||||
|
|||||||
4
.github/workflows/linters.yml
vendored
4
.github/workflows/linters.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
|
||||||
- name: Yarn Lock Changes
|
- name: Yarn Lock Changes
|
||||||
uses: Simek/yarn-lock-changes@34017425198654c20162a4dfd4f238fbece9636f # v0.12.1
|
uses: Simek/yarn-lock-changes@34017425198654c20162a4dfd4f238fbece9636f # v0.12.1
|
||||||
@@ -33,4 +33,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run PR Lint
|
- name: Run PR Lint
|
||||||
# https://github.com/ivuorinen/actions
|
# https://github.com/ivuorinen/actions
|
||||||
uses: ivuorinen/actions/pr-lint@625c37446b1c7e219755a40807f825c9283f6e05 # 25.7.7
|
uses: ivuorinen/actions/pr-lint@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11
|
||||||
|
|||||||
2
.github/workflows/new-release.yml
vendored
2
.github/workflows/new-release.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
version: ${{ steps.daily-version.outputs.version }}
|
version: ${{ steps.daily-version.outputs.version }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
|
||||||
- name: Create tag if necessary
|
- name: Create tag if necessary
|
||||||
uses: fregante/daily-version-action@fb1a60b7c4daf1410cd755e360ebec3901e58588 # v2.1.3
|
uses: fregante/daily-version-action@fb1a60b7c4daf1410cd755e360ebec3901e58588 # v2.1.3
|
||||||
|
|||||||
2
.github/workflows/pre-commit-autoupdate.yml
vendored
2
.github/workflows/pre-commit-autoupdate.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
|
||||||
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@@ -29,4 +29,4 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ivuorinen/actions/sync-labels@625c37446b1c7e219755a40807f825c9283f6e05 # 25.7.7
|
- uses: ivuorinen/actions/sync-labels@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11
|
||||||
|
|||||||
2
.github/workflows/update-submodules.yml
vendored
2
.github/workflows/update-submodules.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|||||||
1
.go-version
Normal file
1
.go-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.23.0
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: detect-aws-credentials
|
- id: detect-aws-credentials
|
||||||
@@ -34,12 +34,12 @@ repos:
|
|||||||
- id: yamllint
|
- id: yamllint
|
||||||
|
|
||||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||||
rev: v0.10.0
|
rev: v0.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
|
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.12.0-1
|
rev: v3.12.0-2
|
||||||
hooks:
|
hooks:
|
||||||
- id: shfmt
|
- id: shfmt
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 41.23.5
|
rev: 41.61.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
3.13.5
|
3.13.6
|
||||||
|
|||||||
71
config/fish/completions/bob.fish
Normal file
71
config/fish/completions/bob.fish
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
|
||||||
|
function __fish_bob_global_optspecs
|
||||||
|
string join \n h/help V/version
|
||||||
|
end
|
||||||
|
|
||||||
|
function __fish_bob_needs_command
|
||||||
|
# Figure out if the current invocation already has a command.
|
||||||
|
set -l cmd (commandline -opc)
|
||||||
|
set -e cmd[1]
|
||||||
|
argparse -s (__fish_bob_global_optspecs) -- $cmd 2>/dev/null
|
||||||
|
or return
|
||||||
|
if set -q argv[1]
|
||||||
|
# Also print the command, so this can be used to figure out what it is.
|
||||||
|
echo $argv[1]
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
|
function __fish_bob_using_subcommand
|
||||||
|
set -l cmd (__fish_bob_needs_command)
|
||||||
|
test -z "$cmd"
|
||||||
|
and return 1
|
||||||
|
contains -- $cmd[1] $argv
|
||||||
|
end
|
||||||
|
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -s V -l version -d 'Print version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "use" -d 'Switch to the specified version, by default will auto-invoke install command if the version is not installed already'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "install" -d 'Install the specified version, can also be used to update out-of-date nightly version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "sync" -d 'If Config::version_sync_file_location is set, the version in that file will be parsed and installed'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "uninstall" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "rm" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "rollback" -d 'Rollback to an existing nightly rollback'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "erase" -d 'Erase any change bob ever made, including neovim installation, neovim version downloads and registry changes'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "list" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "ls" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "list-remote"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "ls-remote"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "complete" -d 'Generate shell completion'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "update" -d 'Update existing version |nightly|stable|--all|'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "run"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand use" -s n -l no-install -d 'Whether not to auto-invoke install command'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand use" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand install" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand sync" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand uninstall" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand rm" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand rollback" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand erase" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand list" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand ls" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand list-remote" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand ls-remote" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand complete" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand update" -s a -l all -d 'Apply the update to all versions'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand update" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand run" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "use" -d 'Switch to the specified version, by default will auto-invoke install command if the version is not installed already'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "install" -d 'Install the specified version, can also be used to update out-of-date nightly version'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "sync" -d 'If Config::version_sync_file_location is set, the version in that file will be parsed and installed'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "uninstall" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "rollback" -d 'Rollback to an existing nightly rollback'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "erase" -d 'Erase any change bob ever made, including neovim installation, neovim version downloads and registry changes'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "list" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "list-remote"
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "complete" -d 'Generate shell completion'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "update" -d 'Update existing version |nightly|stable|--all|'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "run"
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
||||||
123
config/fish/completions/phpenv.fish
Normal file
123
config/fish/completions/phpenv.fish
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
# Completions for phpenv command
|
||||||
|
# Place in ~/.config/fish/completions/phpenv.fish
|
||||||
|
|
||||||
|
# Complete main commands
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "install" -d "Install a PHP version"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "uninstall" -d "Uninstall a PHP version"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "use" -d "Use PHP version for current shell"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "local" -d "Set PHP version for current project"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "global" -d "Set global PHP version"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "list" -d "List installed PHP versions"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "ls" -d "List installed PHP versions"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "current" -d "Show current PHP version"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "which" -d "Show path to PHP binary"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "versions" -d "Show all available versions"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "doctor" -d "Check phpenv installation"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "config" -d "Manage configuration"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "extensions" -d "Manage PHP extensions"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "ext" -d "Manage PHP extensions"
|
||||||
|
complete -c phpenv -f -n "__fish_use_subcommand" -a "help" -d "Show help"
|
||||||
|
|
||||||
|
# Helper functions for completions
|
||||||
|
function __phpenv_complete_installed_versions
|
||||||
|
phpenv list 2>/dev/null | sed 's/^[* ]*//'
|
||||||
|
end
|
||||||
|
|
||||||
|
function __phpenv_complete_available_versions
|
||||||
|
# Try to get dynamic versions first
|
||||||
|
if command -q curl -a command -q jq; and functions -q __phpenv_parse_version_field
|
||||||
|
echo "latest"
|
||||||
|
echo "nightly"
|
||||||
|
echo "5.x"
|
||||||
|
echo "7.x"
|
||||||
|
echo "8.x"
|
||||||
|
__phpenv_parse_version_field "latest" "8.4"
|
||||||
|
__phpenv_parse_version_field "nightly" "8.5"
|
||||||
|
__phpenv_parse_version_field "5.x" "5.6"
|
||||||
|
__phpenv_parse_version_field "7.x" "7.4"
|
||||||
|
__phpenv_parse_version_field "8.x" "8.4"
|
||||||
|
end
|
||||||
|
|
||||||
|
# Fallback to common versions
|
||||||
|
printf "5.6\n7.0\n7.1\n7.2\n7.3\n7.4\n8.0\n8.1\n8.2\n8.3\n8.4\n8.5\n"
|
||||||
|
end
|
||||||
|
|
||||||
|
function __phpenv_complete_config_keys
|
||||||
|
printf "global-version\nauto-install\nauto-install-extensions\nauto-switch\ndefault-extensions\n"
|
||||||
|
end
|
||||||
|
|
||||||
|
function __phpenv_complete_extensions
|
||||||
|
printf "xdebug\nredis\nimagick\nmongodb\nmemcached\npcov\nast\ngrpc\n"
|
||||||
|
printf "protobuf\nyaml\nzip\ncurl\ngd\nintl\nmbstring\nmysql\nopcache\npdo\nsockets\nxml\n"
|
||||||
|
end
|
||||||
|
|
||||||
|
function __phpenv_complete_binaries
|
||||||
|
printf "php\nphp-config\nphpize\ncomposer\npecl\npear\n"
|
||||||
|
end
|
||||||
|
|
||||||
|
# Complete versions for install command
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from install" \
|
||||||
|
-a "(__phpenv_complete_available_versions)" -d "PHP version"
|
||||||
|
|
||||||
|
# Complete installed versions for uninstall, use commands
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from uninstall use local global" \
|
||||||
|
-a "(__phpenv_complete_installed_versions)" -d "Installed PHP version"
|
||||||
|
|
||||||
|
# Add system option for use command
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from use" -a "system" -d "Use system PHP"
|
||||||
|
|
||||||
|
# Complete binaries for which command
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from which" -a "(__phpenv_complete_binaries)" -d "PHP binary"
|
||||||
|
|
||||||
|
# Complete config subcommands
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from config; and not __fish_seen_subcommand_from get set list" \
|
||||||
|
-a "get" -d "Get configuration value"
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from config; and not __fish_seen_subcommand_from get set list" \
|
||||||
|
-a "set" -d "Set configuration value"
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from config; and not __fish_seen_subcommand_from get set list" \
|
||||||
|
-a "list" -d "List all configuration"
|
||||||
|
|
||||||
|
# Complete config keys
|
||||||
|
complete -c phpenv -f -n "__fish_seen_subcommand_from config; and __fish_seen_subcommand_from get set" \
|
||||||
|
-a "(__phpenv_complete_config_keys)" -d "Configuration key"
|
||||||
|
|
||||||
|
# Complete config values for boolean settings
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from config; and __fish_seen_subcommand_from set" \
|
||||||
|
-n "contains -- (commandline -opc)[-1] auto-install auto-install-extensions auto-switch" \
|
||||||
|
-a "true false" -d "Boolean value"
|
||||||
|
|
||||||
|
# Complete extensions subcommands
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "install" -d "Install PHP extension"
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "uninstall" -d "Uninstall PHP extension"
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "remove" -d "Remove PHP extension"
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "list" -d "List installed extensions"
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "ls" -d "List installed extensions"
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext" \
|
||||||
|
-n "not __fish_seen_subcommand_from install uninstall remove list ls available" \
|
||||||
|
-a "available" -d "Show available extensions"
|
||||||
|
|
||||||
|
# Complete extension names
|
||||||
|
complete -c phpenv -f \
|
||||||
|
-n "__fish_seen_subcommand_from extensions ext; and __fish_seen_subcommand_from install" \
|
||||||
|
-a "(__phpenv_complete_extensions)" -d "PHP extension"
|
||||||
|
|
||||||
|
# Complete help options
|
||||||
|
complete -c phpenv -f -s h -l help -d "Show help"
|
||||||
|
|
||||||
54
config/fish/completions/pinact.fish
Normal file
54
config/fish/completions/pinact.fish
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# pinact fish shell completion
|
||||||
|
|
||||||
|
function __fish_pinact_no_subcommand --description 'Test if there has been any subcommand yet'
|
||||||
|
for i in (commandline -opc)
|
||||||
|
if contains -- $i init run migrate token version help-all help h completion
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
|
complete -c pinact -n '__fish_pinact_no_subcommand' -f -l log-level -r -d 'log level'
|
||||||
|
complete -c pinact -n '__fish_pinact_no_subcommand' -f -l config -s c -r -d 'configuration file path'
|
||||||
|
complete -c pinact -n '__fish_pinact_no_subcommand' -f -l help -s h -d 'show help'
|
||||||
|
complete -c pinact -n '__fish_pinact_no_subcommand' -f -l version -s v -d 'print the version'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'init' -d 'Create .pinact.yaml if it doesn\'t exist'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from init' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from init; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'run' -d 'Pin GitHub Actions versions'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l verify -s v -d 'Verify if pairs of commit SHA and version are correct'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l check -d 'Exit with a non-zero status code if actions are not pinned. If this is true, files aren\'t updated'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l update -s u -d 'Update actions to latest versions'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l review -d 'Create reviews'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l fix -d 'Fix code. By default, this is true. If -check or -diff is true, this is false by default'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l diff -d 'Output diff. By default, this is false'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l repo-owner -r -d 'GitHub repository owner'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l repo-name -r -d 'GitHub repository name'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l sha -r -d 'Commit SHA to be reviewed'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l pr -r -d 'GitHub pull request number'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from run' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from run; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'migrate' -d 'Migrate .pinact.yaml'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from migrate' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from migrate; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'token' -d 'Manage GitHub Access token'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from token' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from token; and not __fish_seen_subcommand_from set remove rm help h' -a 'set' -d 'Set GitHub Access token'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from token; and __fish_seen_subcommand_from set' -f -l stdin -d 'Read GitHub Access token from stdin'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from token; and __fish_seen_subcommand_from set' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from token; and __fish_seen_subcommand_from set; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from token; and not __fish_seen_subcommand_from set remove rm help h' -a 'remove' -d 'Remove GitHub Access token'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from token; and __fish_seen_subcommand_from remove rm' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from token; and __fish_seen_subcommand_from remove rm; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from token; and not __fish_seen_subcommand_from set remove rm help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'version' -d 'Show version'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from version' -f -l json -s j -d 'Output version in JSON format'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from version' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from version; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from help-all' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from help-all; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
|
complete -x -c pinact -n '__fish_pinact_no_subcommand' -a 'completion' -d 'Output shell completion script for bash, zsh, fish, or Powershell'
|
||||||
|
complete -c pinact -n '__fish_seen_subcommand_from completion' -f -l help -s h -d 'show help'
|
||||||
|
complete -x -c pinact -n '__fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
|
||||||
38
config/fish/conf.d/phpenv.fish
Normal file
38
config/fish/conf.d/phpenv.fish
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# phpenv configuration file
|
||||||
|
# Place in ~/.config/fish/conf.d/phpenv.fish
|
||||||
|
|
||||||
|
# Set default configuration using session variables for most settings
|
||||||
|
# Only PHPENV_GLOBAL_VERSION needs to persist across shells
|
||||||
|
if not set -q PHPENV_AUTO_INSTALL
|
||||||
|
set -g PHPENV_AUTO_INSTALL false
|
||||||
|
end
|
||||||
|
|
||||||
|
if not set -q PHPENV_AUTO_INSTALL_EXTENSIONS
|
||||||
|
set -g PHPENV_AUTO_INSTALL_EXTENSIONS false
|
||||||
|
end
|
||||||
|
|
||||||
|
if not set -q PHPENV_AUTO_SWITCH
|
||||||
|
set -g PHPENV_AUTO_SWITCH true
|
||||||
|
end
|
||||||
|
|
||||||
|
if not set -q PHPENV_DEFAULT_EXTENSIONS
|
||||||
|
set -g PHPENV_DEFAULT_EXTENSIONS "opcache"
|
||||||
|
end
|
||||||
|
|
||||||
|
# Initialize PATH on shell startup if global version is set (less aggressive)
|
||||||
|
if test -n "$PHPENV_GLOBAL_VERSION"; and not set -q PHPENV_INITIALIZED
|
||||||
|
if functions -q __phpenv_is_version_installed __phpenv_set_php_path
|
||||||
|
if __phpenv_is_version_installed "$PHPENV_GLOBAL_VERSION" 2>/dev/null
|
||||||
|
# Only set PATH if no project-specific version is detected
|
||||||
|
if not __phpenv_find_version_file .php-version >/dev/null 2>&1
|
||||||
|
if not __phpenv_find_version_file .tool-version >/dev/null 2>&1
|
||||||
|
if not test -f composer.json
|
||||||
|
__phpenv_set_php_path "$PHPENV_GLOBAL_VERSION" 2>/dev/null
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
set -g PHPENV_INITIALIZED true
|
||||||
|
end
|
||||||
|
|
||||||
@@ -9,3 +9,4 @@ meaningful-ooo/sponge
|
|||||||
nickeb96/puffer-fish
|
nickeb96/puffer-fish
|
||||||
jgusta/paths
|
jgusta/paths
|
||||||
patrickf1/fzf.fish
|
patrickf1/fzf.fish
|
||||||
|
ivuorinen/phpenv.fish
|
||||||
|
|||||||
1078
config/fish/functions/phpenv.fish
Normal file
1078
config/fish/functions/phpenv.fish
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
htop_version=3.3.0
|
htop_version=3.4.1
|
||||||
config_reader_min_version=3
|
config_reader_min_version=3
|
||||||
fields=0 48 17 18 38 39 2 46 47 49 1
|
fields=0 48 17 18 38 39 2 46 47 49 1
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
@@ -25,6 +25,7 @@ detailed_cpu_time=0
|
|||||||
cpu_count_from_one=0
|
cpu_count_from_one=0
|
||||||
show_cpu_usage=1
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=0
|
show_cpu_frequency=0
|
||||||
|
show_cached_memory=1
|
||||||
update_process_names=0
|
update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
color_scheme=0
|
color_scheme=0
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ local lazy_plugins = function()
|
|||||||
return require('telescope').extensions.lazy_plugins.lazy_plugins()
|
return require('telescope').extensions.lazy_plugins.lazy_plugins()
|
||||||
end
|
end
|
||||||
|
|
||||||
K.nl('f', ':Telescope fd --hidden=true<cr>', 'Find Files')
|
K.nl('f', ':Telescope find_files<cr>', 'Find Files')
|
||||||
K.nl(',', ':Telescope buffers<cr>', 'Find existing buffers')
|
K.nl(',', ':Telescope buffers<cr>', 'Find existing buffers')
|
||||||
K.nl('/', function() fuzzy_search() end, 'Fuzzily search in current buffer')
|
K.nl('/', function() fuzzy_search() end, 'Fuzzily search in current buffer')
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,13 @@ return {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Go development plugin for Vim
|
||||||
|
-- https://github.com/fatih/vim-go
|
||||||
|
{
|
||||||
|
'fatih/vim-go',
|
||||||
|
config = function() end,
|
||||||
|
},
|
||||||
|
|
||||||
-- Run your tests at the speed of thought
|
-- Run your tests at the speed of thought
|
||||||
-- https://github.com/vim-test/vim-test
|
-- https://github.com/vim-test/vim-test
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,13 +1,18 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'stevearc/conform.nvim',
|
'stevearc/conform.nvim',
|
||||||
event = 'BufWritePre',
|
event = { 'BufReadPre', 'BufNewFile' },
|
||||||
config = function()
|
config = function()
|
||||||
local conform = require 'conform'
|
local conform = require 'conform'
|
||||||
|
|
||||||
conform.setup {
|
conform.setup {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
|
bash = { 'shfmt' },
|
||||||
|
go = { 'golangci-lint' },
|
||||||
lua = { 'stylua' },
|
lua = { 'stylua' },
|
||||||
|
sh = { 'shfmt' },
|
||||||
|
ansible = { 'ansible-lint' },
|
||||||
|
docker = { 'hadolint' },
|
||||||
},
|
},
|
||||||
format_on_save = function(bufnr)
|
format_on_save = function(bufnr)
|
||||||
-- Disable autoformat for files in a certain paths
|
-- Disable autoformat for files in a certain paths
|
||||||
@@ -20,6 +25,7 @@ return {
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
lsp_fallback = not disable_lsp[vim.bo[bufnr].filetype],
|
lsp_fallback = not disable_lsp[vim.bo[bufnr].filetype],
|
||||||
|
async = false,
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
@@ -63,4 +69,8 @@ return {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'gpanders/editorconfig.nvim',
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,44 +1,4 @@
|
|||||||
return {
|
return {
|
||||||
-- A collection of small QoL plugins for Neovim
|
|
||||||
-- https://github.com/folke/snacks.nvim
|
|
||||||
{
|
|
||||||
---@module 'snacks'
|
|
||||||
'folke/snacks.nvim',
|
|
||||||
priority = 1000,
|
|
||||||
lazy = false,
|
|
||||||
---@type snacks.Config
|
|
||||||
opts = {
|
|
||||||
bigfile = { enabled = true },
|
|
||||||
input = { enabled = true },
|
|
||||||
notifier = {
|
|
||||||
enabled = true,
|
|
||||||
timeout = 3000,
|
|
||||||
},
|
|
||||||
gitbrowse = { enabled = true },
|
|
||||||
quickfile = { enabled = true },
|
|
||||||
statuscolumn = {
|
|
||||||
enabled = true,
|
|
||||||
left = { 'mark', 'sign' }, -- priority of signs on the left (high to low)
|
|
||||||
right = { 'fold', 'git' }, -- priority of signs on the right (high to low)
|
|
||||||
folds = {
|
|
||||||
open = true, -- show open fold icons
|
|
||||||
git_hl = true, -- use Git Signs hl for fold icons
|
|
||||||
},
|
|
||||||
git = {
|
|
||||||
-- patterns to match Git signs
|
|
||||||
patterns = { 'GitSign', 'MiniDiffSign' },
|
|
||||||
},
|
|
||||||
refresh = 50, -- refresh at most every 50ms
|
|
||||||
},
|
|
||||||
words = { enabled = true },
|
|
||||||
styles = {
|
|
||||||
notification = {
|
|
||||||
wo = { wrap = true }, -- Wrap notifications
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Highly experimental plugin that completely
|
-- Highly experimental plugin that completely
|
||||||
-- replaces the UI for messages, cmdline and the popupmenu.
|
-- replaces the UI for messages, cmdline and the popupmenu.
|
||||||
-- https://github.com/folke/noice.nvim
|
-- https://github.com/folke/noice.nvim
|
||||||
@@ -49,7 +9,10 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
'rcarriga/nvim-notify',
|
{
|
||||||
|
'rcarriga/nvim-notify',
|
||||||
|
opts = { background_colour = '#000000' },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
lsp = {
|
lsp = {
|
||||||
@@ -69,6 +32,10 @@ return {
|
|||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
routes = {
|
routes = {
|
||||||
|
{
|
||||||
|
view = 'notify',
|
||||||
|
filter = { event = 'msg_showmode' },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
filter = {
|
filter = {
|
||||||
event = 'msg_show',
|
event = 'msg_show',
|
||||||
@@ -106,13 +73,31 @@ return {
|
|||||||
},
|
},
|
||||||
views = {
|
views = {
|
||||||
cmdline_popup = {
|
cmdline_popup = {
|
||||||
border = {
|
position = {
|
||||||
style = 'none',
|
row = 5,
|
||||||
padding = { 1, 2 },
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 'auto',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
popupmenu = {
|
||||||
|
relative = 'editor',
|
||||||
|
position = {
|
||||||
|
row = 8,
|
||||||
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 10,
|
||||||
|
},
|
||||||
|
border = {
|
||||||
|
style = 'rounded',
|
||||||
|
padding = { 0, 1 },
|
||||||
},
|
},
|
||||||
filter_options = {},
|
|
||||||
win_options = {
|
win_options = {
|
||||||
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
|
winhighlight = { Normal = 'Normal', FloatBorder = 'DiagnosticInfo' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ return {
|
|||||||
|
|
||||||
-- Allows extra capabilities provided by blink.cmp
|
-- Allows extra capabilities provided by blink.cmp
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
|
|
||||||
|
{ 'j-hui/fidget.nvim', opts = {} },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local lazydev = require 'lazydev'
|
local lazydev = require 'lazydev'
|
||||||
|
|||||||
@@ -37,15 +37,18 @@ return {
|
|||||||
local vimgrep_arguments = { unpack(c.values.vimgrep_arguments) }
|
local vimgrep_arguments = { unpack(c.values.vimgrep_arguments) }
|
||||||
|
|
||||||
-- I want to search in hidden/dot files.
|
-- I want to search in hidden/dot files.
|
||||||
table.insert(vimgrep_arguments, '--hidden')
|
table.insert(vimgrep_arguments, '--hidden=true')
|
||||||
-- I don't want to search in the `.git` directory.
|
|
||||||
table.insert(vimgrep_arguments, '--glob')
|
table.insert(vimgrep_arguments, '--glob')
|
||||||
|
-- I don't want to search in the `.git` directory.
|
||||||
table.insert(vimgrep_arguments, '!**/.git/*')
|
table.insert(vimgrep_arguments, '!**/.git/*')
|
||||||
|
|
||||||
-- [[ Configure Telescope ]]
|
-- [[ Configure Telescope ]]
|
||||||
-- See `:help telescope` and `:help telescope.setup()`
|
-- See `:help telescope` and `:help telescope.setup()`
|
||||||
t.setup {
|
t.setup {
|
||||||
defaults = {
|
defaults = {
|
||||||
|
preview = {
|
||||||
|
filesize_limit = 0.1, -- MB
|
||||||
|
},
|
||||||
-- `hidden = true` is not supported in text grep commands.
|
-- `hidden = true` is not supported in text grep commands.
|
||||||
vimgrep_arguments = vimgrep_arguments,
|
vimgrep_arguments = vimgrep_arguments,
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,16 @@ return {
|
|||||||
extra_groups = {
|
extra_groups = {
|
||||||
'NormalNC',
|
'NormalNC',
|
||||||
'NormalFloat',
|
'NormalFloat',
|
||||||
|
'FloatTitle',
|
||||||
'FloatBorder',
|
'FloatBorder',
|
||||||
|
'NotifyDEBUGBorder',
|
||||||
|
'NotifyERRORBorder',
|
||||||
|
'NotifyINFOBorder',
|
||||||
|
'NotifyINFOBorder73',
|
||||||
|
'NotifyINFOBorder75',
|
||||||
|
'NotifyINFOBorder101',
|
||||||
|
'NotifyTRACEBorder',
|
||||||
|
'NotifyWARNBorder',
|
||||||
'TelescopeBorder',
|
'TelescopeBorder',
|
||||||
'TelescopePromptBorder',
|
'TelescopePromptBorder',
|
||||||
'TelescopeResultsBorder',
|
'TelescopeResultsBorder',
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
default_session = "main"
|
default_session = "main"
|
||||||
|
display_full_path = true
|
||||||
|
|
||||||
[[search_dirs]]
|
[[search_dirs]]
|
||||||
path = "~/Code"
|
path = "~/Code"
|
||||||
depth = 3
|
depth = 3
|
||||||
|
|
||||||
[picker_colors]
|
[picker_colors]
|
||||||
highlight_color = "#21202e"
|
highlight_color = "#31748f"
|
||||||
highlight_text_color = "#86e1fc"
|
highlight_text_color = "#e0def4"
|
||||||
border_color = "#524f67"
|
border_color = "#524F67"
|
||||||
|
|||||||
Submodule config/tmux/plugins/tmux-window-name updated: 0772aa2033...9a75967ced
@@ -51,7 +51,7 @@ if-shell '[ "$DEBUG" = "1" ]' 'set -g debug-file ~/.cache/tmux-debug.log'
|
|||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
set -g pane-active-border-style "fg=#7aa2f7"
|
set -g pane-active-border-style "fg=#7aa2f7"
|
||||||
set -g pane-border-style "fg=#3b4261"
|
set -g pane-border-style "fg=#31748f"
|
||||||
set -g status-style "bg=default"
|
set -g status-style "bg=default"
|
||||||
set -g status-justify "left"
|
set -g status-justify "left"
|
||||||
set -g status-left ''
|
set -g status-left ''
|
||||||
@@ -114,7 +114,7 @@ bind -N "tms refresh" C-r display-popup -E "tms refresh"
|
|||||||
# Plugin that lets you suspend local tmux session,
|
# Plugin that lets you suspend local tmux session,
|
||||||
# so that you can work with nested remote tmux session painlessly.
|
# so that you can work with nested remote tmux session painlessly.
|
||||||
# https://github.com/MunifTanjim/tmux-suspend
|
# https://github.com/MunifTanjim/tmux-suspend
|
||||||
set -g @suspend_key 'F12'
|
set -g @suspend_key 'C-i' # Ctrl + inner
|
||||||
|
|
||||||
## A plugin to name your tmux windows smartly.
|
## A plugin to name your tmux windows smartly.
|
||||||
## https://github.com/ofirgall/tmux-window-name
|
## https://github.com/ofirgall/tmux-window-name
|
||||||
|
|||||||
@@ -10,16 +10,17 @@
|
|||||||
},
|
},
|
||||||
"agent": {
|
"agent": {
|
||||||
"always_allow_tool_actions": true,
|
"always_allow_tool_actions": true,
|
||||||
"default_profile": "ask",
|
"default_profile": "write",
|
||||||
"default_model": {
|
"default_model": {
|
||||||
"provider": "copilot_chat",
|
"provider": "copilot_chat",
|
||||||
"model": "gpt-4.1"
|
"model": "claude-3.7-sonnet"
|
||||||
},
|
},
|
||||||
"play_sound_when_agent_done": true
|
"play_sound_when_agent_done": true
|
||||||
},
|
},
|
||||||
"languages": {
|
"languages": {
|
||||||
"PHP": {
|
"PHP": {
|
||||||
"language_servers": ["intelephense", "phpactor"]
|
"language_servers": ["intelephense", "phpactor"],
|
||||||
|
"formatter": "language_server"
|
||||||
},
|
},
|
||||||
"Python": {
|
"Python": {
|
||||||
"enable_language_server": true,
|
"enable_language_server": true,
|
||||||
@@ -37,14 +38,15 @@
|
|||||||
},
|
},
|
||||||
"Markdown": {
|
"Markdown": {
|
||||||
"enable_language_server": true,
|
"enable_language_server": true,
|
||||||
"preferred_line_length": 160,
|
"preferred_line_length": 120,
|
||||||
"prettier": {
|
"formatter": "language_server"
|
||||||
"allowed": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"Lua": {
|
"Lua": {
|
||||||
"enable_language_server": true,
|
"enable_language_server": true,
|
||||||
"tab_size": 2
|
"tab_size": 2
|
||||||
|
},
|
||||||
|
"Go": {
|
||||||
|
"language_servers": ["gopls", "golangci-lint"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lsp": {
|
"lsp": {
|
||||||
|
|||||||
Reference in New Issue
Block a user