mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-04 19:48:55 +00:00
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ebb22064ce | |||
|
|
c4a55efd7c | ||
|
|
508b44fd48 | ||
|
|
2fdcd839a4 | ||
|
|
cdf791bb63 | ||
|
|
cd72b003a0 | ||
| bb93200f52 | |||
|
|
7715e1c8b0 | ||
|
|
e91f31a049 | ||
|
|
56791753f7 | ||
| e9bd3708fa | |||
| 0a2b0b8a45 | |||
|
|
1be21eb247 | ||
|
|
dd89164b8b | ||
|
|
aae39dd913 | ||
|
|
4ab8182d90 | ||
|
|
b281efc576 | ||
|
|
35ede87808 | ||
|
|
2e184aa6c1 | ||
|
|
ffd4121eef | ||
|
|
a424347974 |
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@@ -35,4 +35,4 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Run PR Lint
|
- name: Run PR Lint
|
||||||
uses: ivuorinen/actions/pr-lint@71b97baa7c71a55b48413309b86843b1b125e149 # 25.8.31
|
uses: ivuorinen/actions/pr-lint@646169c13f7457d7f1040c23b722bb663e476786 # 25.10.1
|
||||||
|
|||||||
2
.github/workflows/new-release.yml
vendored
2
.github/workflows/new-release.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: steps.daily-version.outputs.created
|
if: steps.daily-version.outputs.created
|
||||||
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
|
uses: softprops/action-gh-release@62c96d0c4e8a889135c1f3a25910db8dbe0e85f7 # v2.3.4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag_name: ${{ steps.daily-version.outputs.version }}
|
tag_name: ${{ steps.daily-version.outputs.version }}
|
||||||
|
|||||||
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@71b97baa7c71a55b48413309b86843b1b125e149 # 25.8.31
|
- uses: ivuorinen/actions/sync-labels@646169c13f7457d7f1040c23b722bb663e476786 # 25.10.1
|
||||||
|
|||||||
@@ -50,12 +50,12 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 41.97.9
|
rev: 41.135.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
- repo: https://github.com/JohnnyMorganz/StyLua
|
- repo: https://github.com/JohnnyMorganz/StyLua
|
||||||
rev: v2.1.0
|
rev: v2.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: stylua # or stylua-system / stylua-github
|
- id: stylua # or stylua-system / stylua-github
|
||||||
|
|
||||||
|
|||||||
@@ -23,3 +23,5 @@ bottom
|
|||||||
eza
|
eza
|
||||||
// Tmux Sessionizer: A tool for opening git repositories as tmux sessions
|
// Tmux Sessionizer: A tool for opening git repositories as tmux sessions
|
||||||
tmux-sessionizer
|
tmux-sessionizer
|
||||||
|
// zoxide, a smarter cd command
|
||||||
|
zoxide
|
||||||
|
|||||||
@@ -23,4 +23,5 @@ github.com/junegunn/fzf@latest
|
|||||||
golang.org/x/tools/gopls@latest
|
golang.org/x/tools/gopls@latest
|
||||||
// A language for writing HTML user interfaces in Go.
|
// A language for writing HTML user interfaces in Go.
|
||||||
github.com/a-h/templ/cmd/templ@latest
|
github.com/a-h/templ/cmd/templ@latest
|
||||||
|
// A terminal session manager
|
||||||
|
github.com/joshmedeski/sesh/v2@latest
|
||||||
|
|||||||
@@ -458,5 +458,7 @@ export SQLITE_HISTORY="${XDG_CACHE_HOME}/sqlite_history"
|
|||||||
|
|
||||||
[ -f "$XDG_CONFIG_HOME/exports-secret" ] && source "$XDG_CONFIG_HOME/exports-secret"
|
[ -f "$XDG_CONFIG_HOME/exports-secret" ] && source "$XDG_CONFIG_HOME/exports-secret"
|
||||||
[ -f "$XDG_CONFIG_HOME/exports-local" ] && source "$XDG_CONFIG_HOME/exports-local"
|
[ -f "$XDG_CONFIG_HOME/exports-local" ] && source "$XDG_CONFIG_HOME/exports-local"
|
||||||
|
# shellcheck source=./exports-lakka
|
||||||
[ -f "$XDG_CONFIG_HOME/exports-$(hostname)" ] && source "$XDG_CONFIG_HOME/exports-$(hostname)"
|
[ -f "$XDG_CONFIG_HOME/exports-$(hostname)" ] && source "$XDG_CONFIG_HOME/exports-$(hostname)"
|
||||||
|
# shellcheck source=./exports-lakka-secret
|
||||||
[ -f "$XDG_CONFIG_HOME/exports-$(hostname)-secret" ] && source "$XDG_CONFIG_HOME/exports-$(hostname)-secret"
|
[ -f "$XDG_CONFIG_HOME/exports-$(hostname)-secret" ] && source "$XDG_CONFIG_HOME/exports-$(hostname)-secret"
|
||||||
|
|||||||
@@ -84,28 +84,5 @@ function configure_tide --description 'Configure tide with the lean style and my
|
|||||||
--transient=Yes
|
--transient=Yes
|
||||||
end
|
end
|
||||||
|
|
||||||
# Abbreviations for git
|
|
||||||
abbr --add gau git add -u
|
|
||||||
abbr --add gaa git add -A
|
|
||||||
abbr --add gcv git commit -v
|
|
||||||
|
|
||||||
# Abbreviations for composer
|
|
||||||
abbr --add c composer
|
|
||||||
abbr --add cu composer update
|
|
||||||
abbr --add ci composer install
|
|
||||||
|
|
||||||
# Abbreviations for php artisan
|
|
||||||
abbr --add .pa php artisan
|
|
||||||
abbr --add .paf php artisan fresh
|
|
||||||
abbr --add .pam php artisan migrate
|
|
||||||
abbr --add .pams php artisan migrate --seed
|
|
||||||
abbr --add .pat php artisan test
|
|
||||||
|
|
||||||
# Abbreviations for npm
|
|
||||||
abbr --add .n npm
|
|
||||||
abbr --add .nt npm test --if-present
|
|
||||||
abbr --add .nb npm run build --if-present
|
|
||||||
abbr --add .ns npm run start --if-present
|
|
||||||
|
|
||||||
# Random abbreviations
|
# Random abbreviations
|
||||||
abbr --add stats onefetch --nerd-fonts --true-color never
|
abbr --add stats onefetch --nerd-fonts --true-color never
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ if status is-interactive
|
|||||||
# type -q fnm; and fnm env --use-on-cd --shell fish | source
|
# type -q fnm; and fnm env --use-on-cd --shell fish | source
|
||||||
type -q load_nvm; and load_nvm > /dev/stderr
|
type -q load_nvm; and load_nvm > /dev/stderr
|
||||||
|
|
||||||
|
# Intialize other tools if available
|
||||||
|
type -q zoxide; and zoxide init fish | source
|
||||||
|
|
||||||
# Start tmux if not already running and not in SSH
|
# Start tmux if not already running and not in SSH
|
||||||
open-tmux # defined in functions/open-tmux.fish
|
open-tmux # defined in functions/open-tmux.fish
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ set -q FNM_RESOLVE_ENGINES; or set -x FNM_RESOLVE_ENGINES true
|
|||||||
|
|
||||||
# fzf configuration
|
# fzf configuration
|
||||||
set -q FZF_BASE; or set -x FZF_BASE "$XDG_CONFIG_HOME/fzf"
|
set -q FZF_BASE; or set -x FZF_BASE "$XDG_CONFIG_HOME/fzf"
|
||||||
set -q FZF_DEFAULT_OPTS; or set -x FZF_DEFAULT_OPTS '--height 40% --tmux bottom,40% --layout reverse --border top'
|
set -q FZF_DEFAULT_OPTS; or set -x FZF_DEFAULT_OPTS '--height 40% --tmux bottom,70% --layout reverse --border top'
|
||||||
|
|
||||||
# GnuPG configuration
|
# GnuPG configuration
|
||||||
set -q GNUPGHOME; or set -x GNUPGHOME "$XDG_DATA_HOME/gnupg"
|
set -q GNUPGHOME; or set -x GNUPGHOME "$XDG_DATA_HOME/gnupg"
|
||||||
@@ -160,6 +160,10 @@ set -q TMS_CONFIG_FILE; or set -x TMS_CONFIG_FILE "$XDG_CONFIG_HOME/tms/config.t
|
|||||||
set -q WAKATIME_HOME; or set -x WAKATIME_HOME "$XDG_STATE_HOME/wakatime"
|
set -q WAKATIME_HOME; or set -x WAKATIME_HOME "$XDG_STATE_HOME/wakatime"
|
||||||
x-dc "$WAKATIME_HOME"
|
x-dc "$WAKATIME_HOME"
|
||||||
|
|
||||||
|
# Zoxide configuration
|
||||||
|
set -q _ZO_DATA_DIR; or set -x _ZO_DATA_DIR "$XDG_DATA_HOME/zoxide"
|
||||||
|
set -q _ZO_EXCLUDE_DIRS; or set -x _ZO_EXCLUDE_DIRS "$XDG_DATA_HOME"
|
||||||
|
|
||||||
# Miscellaneous configuration
|
# Miscellaneous configuration
|
||||||
set -q CHEAT_USE_FZF; or set -x CHEAT_USE_FZF true
|
set -q CHEAT_USE_FZF; or set -x CHEAT_USE_FZF true
|
||||||
set -q SQLITE_HISTORY; or set -x SQLITE_HISTORY "$XDG_CACHE_HOME/sqlite/sqlite_history"
|
set -q SQLITE_HISTORY; or set -x SQLITE_HISTORY "$XDG_CACHE_HOME/sqlite/sqlite_history"
|
||||||
@@ -182,6 +186,6 @@ set -gx tide_prompt_transient_enabled true
|
|||||||
set -gx tide_prompt_add_newline_before true
|
set -gx tide_prompt_add_newline_before true
|
||||||
set -gx tide_prompt_min_cols 34
|
set -gx tide_prompt_min_cols 34
|
||||||
set -gx tide_prompt_pad_items false
|
set -gx tide_prompt_pad_items false
|
||||||
set -gx tide_left_prompt_items context pwd git node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig newline character
|
set -gx tide_left_prompt_items context pwd git node python rustc java php pulumi ruby go gcloud newline character
|
||||||
set -gx tide_right_prompt_items status jobs direnv
|
set -gx tide_right_prompt_items status jobs direnv
|
||||||
set -gx tide_context_hostname_parts 1
|
set -gx tide_context_hostname_parts 1
|
||||||
|
|||||||
@@ -348,6 +348,7 @@ cask "dbngin"
|
|||||||
cask "fantastical"
|
cask "fantastical"
|
||||||
cask "font-jetbrains-mono"
|
cask "font-jetbrains-mono"
|
||||||
cask "font-jetbrains-mono-nerd-font"
|
cask "font-jetbrains-mono-nerd-font"
|
||||||
|
cask "font-monaspace"
|
||||||
cask "font-open-sans"
|
cask "font-open-sans"
|
||||||
# GIT client
|
# GIT client
|
||||||
cask "fork"
|
cask "fork"
|
||||||
@@ -365,6 +366,8 @@ cask "ngrok"
|
|||||||
cask "notunes"
|
cask "notunes"
|
||||||
# Knowledge base that works on top of a local folder of plain text Markdown files
|
# Knowledge base that works on top of a local folder of plain text Markdown files
|
||||||
cask "obsidian"
|
cask "obsidian"
|
||||||
|
# Replacement for Docker Desktop
|
||||||
|
cask "orbstack"
|
||||||
# Quick Look generator for Markdown files
|
# Quick Look generator for Markdown files
|
||||||
cask "qlmarkdown"
|
cask "qlmarkdown"
|
||||||
# Quick Look plugin for plaintext files without an extension
|
# Quick Look plugin for plaintext files without an extension
|
||||||
|
|||||||
@@ -2,14 +2,14 @@ return {
|
|||||||
-- Library of 40+ independent Lua modules improving overall Neovim
|
-- Library of 40+ independent Lua modules improving overall Neovim
|
||||||
-- (version 0.8 and higher) experience with minimal effort
|
-- (version 0.8 and higher) experience with minimal effort
|
||||||
--
|
--
|
||||||
-- https://github.com/echasnovski/mini.nvim
|
-- https://github.com/nvim-mini/mini.nvim
|
||||||
-- https://github.com/echasnovski/mini.nvim/tree/main?tab=readme-ov-file#modules
|
-- https://github.com/nvim-mini/mini.nvim?tab=readme-ov-file#modules
|
||||||
--
|
--
|
||||||
-- YouTube: Text editing with 'mini.nvim' - Neovimconf 2024 - Evgeni Chasnovski
|
-- YouTube: Text editing with 'mini.nvim' - Neovimconf 2024 - Evgeni Chasnovski
|
||||||
-- https://www.youtube.com/watch?v=cNK5kYJ7mrs
|
-- https://www.youtube.com/watch?v=cNK5kYJ7mrs
|
||||||
{
|
{
|
||||||
'echasnovski/mini.nvim',
|
'nvim-mini/mini.nvim',
|
||||||
version = '*',
|
version = false,
|
||||||
priority = 1001,
|
priority = 1001,
|
||||||
config = function()
|
config = function()
|
||||||
-- ╭─────────────────────────────────────────────────────────╮
|
-- ╭─────────────────────────────────────────────────────────╮
|
||||||
@@ -21,7 +21,7 @@ return {
|
|||||||
-- - va) - [V]isually select [A]round [)]paren
|
-- - va) - [V]isually select [A]round [)]paren
|
||||||
-- - yinq - [Y]ank [I]nside [N]ext [Q]uote
|
-- - yinq - [Y]ank [I]nside [N]ext [Q]uote
|
||||||
-- - ci' - [C]hange [I]nside [']quote
|
-- - ci' - [C]hange [I]nside [']quote
|
||||||
require('mini.ai').setup { n_lines = 500 }
|
require('mini.ai').setup { n_lines = 750 }
|
||||||
|
|
||||||
-- Comment lines
|
-- Comment lines
|
||||||
require('mini.comment').setup()
|
require('mini.comment').setup()
|
||||||
|
|||||||
@@ -79,4 +79,3 @@ taskd.ca=$XDG_DATA_HOME/task/ca.cert.pem
|
|||||||
taskd.server=inthe.am:53589
|
taskd.server=inthe.am:53589
|
||||||
taskd.credentials=inthe_am/ivuorinen/b99a4970-94fb-4fb8-b9fe-e1a8140dd44d
|
taskd.credentials=inthe_am/ivuorinen/b99a4970-94fb-4fb8-b9fe-e1a8140dd44d
|
||||||
taskd.trust=strict
|
taskd.trust=strict
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# .dotfiles/hosts/v
|
|
||||||
|
|
||||||
This is my work computer.
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# vim: ft=gitconfig sw=2 ts=2 et
|
|
||||||
[include]
|
|
||||||
path = ~/.dotfiles/config/git/shared
|
|
||||||
|
|
||||||
[gpg]
|
|
||||||
format = ssh
|
|
||||||
|
|
||||||
[user]
|
|
||||||
name = Ismo Vuorinen
|
|
||||||
email = ismo.vuorinen@vincit.fi
|
|
||||||
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLyOvkr1nRqMVv3UAizmk6C+q40H4khvw7qIXXXyOyFmzjwYx/Cuxoi4uZVjX+q4qFYJ+c312uu6YXiEtfyoCao3wub8r1cLBQ3eIvuyWp2K8Ixcd9JmFmLmoeiENpJxqyr0WPZLDkrCWUZCsQQh8zzGFnfciUdUdTiZ7s21AEhhmFRSdFlVfQSlGMFxU321psg1YilcP80bDwFd1FsL4TssSkwlbgP/twqnpZ4436TTo7kp0UnH/RZkfRdDWScKHaWgncBG0CZeQxGWnRp8fvZn/7gDnthcZhvnDALVBE7QFuZ90GxqVw3IGpHryV0mFO6EGQ9Ke9YX7pKVZPUXZjeCN4SVKsqFdVJ6AjaSJ9K7nL98rYK7qNzndT3cKqPNgPteyXWRulH68A51ecQqHrjTttZcdN9hKt9uBHpzuXsby2QObT+VB4MNjZapa+YYF/WgwJCml4lzn2xMFg1vYZD78pfoJ9e5f2cL1MMlUSDb0TNxmEXfDQ77H/pRpKDz0=
|
|
||||||
|
|
||||||
[gpg "ssh"]
|
|
||||||
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
|
|
||||||
allowedSignersFile = ~/.ssh/allowed_signers
|
|
||||||
|
|
||||||
[commit]
|
|
||||||
gpgsign = true
|
|
||||||
|
|
||||||
[credential "https://github.com"]
|
|
||||||
helper =
|
|
||||||
helper = !/opt/homebrew/bin/gh auth git-credential
|
|
||||||
|
|
||||||
[credential "https://gist.github.com"]
|
|
||||||
helper =
|
|
||||||
helper = !/opt/homebrew/bin/gh auth git-credential
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- include: 'tools/dotbot-defaults.yaml'
|
|
||||||
- shell:
|
|
||||||
- echo "Configuring v"
|
|
||||||
- link:
|
|
||||||
~/:
|
|
||||||
force: true
|
|
||||||
glob: true
|
|
||||||
path: hosts/v/base/**
|
|
||||||
prefix: '.'
|
|
||||||
~/.config/:
|
|
||||||
glob: true
|
|
||||||
force: true
|
|
||||||
path: hosts/v/config/**
|
|
||||||
Reference in New Issue
Block a user