mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-02 06:47:55 +00:00
Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d31371af4 | |||
| c2250ee80c | |||
| a1d075fc0d | |||
| a3cc12aae1 | |||
| 808748a050 | |||
|
|
e29507ee61 | ||
| bd6408b024 | |||
| 45cf9ef2a5 | |||
| 5cc78e14e4 | |||
| 5683809e18 | |||
| 723d40a704 | |||
|
|
55ce79d9d1 | ||
|
|
fdd3845cf5 | ||
| 3e911755d2 | |||
| f3dff521f7 | |||
| cf1ccd6f39 | |||
| 2e963fa29e | |||
|
|
f595d437c9 | ||
| e7d0b4167a | |||
| f20fe04ed8 | |||
| 2b78d648c2 | |||
| ae2deef5fa | |||
| 8fc60ade75 | |||
| 34160d34dc | |||
| 5fab8e1cab | |||
| 1a612fef62 | |||
| ce5e9681fd | |||
| cab855380f |
8
.github/dependabot.yml
vendored
Normal file
8
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
23
.github/workflows/changelog.yml
vendored
Normal file
23
.github/workflows/changelog.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
name: Debug Changelog # Workflow name displayed on GitHub
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # Trigger manually
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
debug-changelog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Create changelog text
|
||||||
|
id: changelog
|
||||||
|
uses: loopwerk/tag-changelog@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: "Echo results"
|
||||||
|
id: output-changelog
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.changelog.outputs.changes }}"
|
||||||
|
|
||||||
51
.github/workflows/new-release.yml
vendored
Normal file
51
.github/workflows/new-release.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
name: Release Daily State # Workflow name displayed on GitHub
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # Trigger manually
|
||||||
|
schedule:
|
||||||
|
- cron: "59 23 * * *"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
new-daily-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
created: ${{ steps.daily-version.outputs.created }}
|
||||||
|
version: ${{ steps.daily-version.outputs.version }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3 # Checkout our working repository
|
||||||
|
|
||||||
|
- uses: fregante/daily-version-action@v2
|
||||||
|
name: Create tag if necessary
|
||||||
|
id: daily-version
|
||||||
|
|
||||||
|
- name: Conventional Changelog Action
|
||||||
|
if: steps.daily-version.outputs.created
|
||||||
|
id: changelog
|
||||||
|
uses: TriPSs/conventional-changelog-action@v3
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
skip-git-pull: "true"
|
||||||
|
output-file: "false"
|
||||||
|
fallback-version: "${{ steps.daily-version.outputs.version }}"
|
||||||
|
skip-version-file: "true"
|
||||||
|
git-message: "chore(release): {version}"
|
||||||
|
git-user-name: "${{ github.actor }}"
|
||||||
|
git-user-email: "${{ github.actor }}@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
if: env.DAILY_VERSION_CREATED
|
||||||
|
uses: actions/github-script@v6.4.1
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
script: |
|
||||||
|
await github.request(
|
||||||
|
`POST /repos/${{ github.repository }}/releases`,
|
||||||
|
{
|
||||||
|
tag_name: "${{ steps.daily-version.outputs.version }}",
|
||||||
|
body: "${{ steps.daily-version.outputs.clean_changelog }}"
|
||||||
|
}
|
||||||
|
);
|
||||||
40
.github/workflows/update-submodules.yml
vendored
Normal file
40
.github/workflows/update-submodules.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Update submodules
|
||||||
|
on:
|
||||||
|
schedule: [cron: 0 3 * * *]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-submodules:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
|
- name: Config Git User
|
||||||
|
run: |
|
||||||
|
git config --global user.name "${{ github.actor }}"
|
||||||
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Update submodules
|
||||||
|
run: |
|
||||||
|
if git commit -am"chore(git): Update submodules (automated)
|
||||||
|
|
||||||
|
$(git submodule --quiet foreach \
|
||||||
|
'tag="$(git describe --tags --abbrev=0 origin/HEAD)"
|
||||||
|
if [ "$(git describe --tags)" != "$tag" ]; then
|
||||||
|
git checkout --quiet "$tag"
|
||||||
|
echo "$name" "$tag"
|
||||||
|
fi')"
|
||||||
|
then
|
||||||
|
git show --raw
|
||||||
|
git push
|
||||||
|
fi
|
||||||
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -18,7 +18,6 @@
|
|||||||
path = config/nvim
|
path = config/nvim
|
||||||
url = https://github.com/AstroNvim/AstroNvim.git
|
url = https://github.com/AstroNvim/AstroNvim.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
branch = main
|
|
||||||
shallow = true
|
shallow = true
|
||||||
|
|
||||||
[submodule "cheat-community"]
|
[submodule "cheat-community"]
|
||||||
|
|||||||
@@ -4,4 +4,9 @@ email = ismo.vuorinen@vincit.fi
|
|||||||
|
|
||||||
[home]
|
[home]
|
||||||
name = Ismo Vuorinen
|
name = Ismo Vuorinen
|
||||||
email = ismo@vuorinen.net
|
email = ismo@ivuorinen.net
|
||||||
|
|
||||||
|
[github]
|
||||||
|
name = ivuorinen
|
||||||
|
email = ivuorinen@users.noreply.github.com
|
||||||
|
|
||||||
|
|||||||
@@ -20,11 +20,17 @@ return { -- Add the community repository of plugin specific
|
|||||||
"m4xshen/smartcolumn.nvim",
|
"m4xshen/smartcolumn.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
colorcolumn = { "80", "100", "120" },
|
colorcolumn = { "80", "100", "120" },
|
||||||
disabled_filetypes = { "help", "text", "markdown" },
|
disabled_filetypes = { "help", "text", "markdown", "json" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ import = "astrocommunity.diagnostics.lsp_lines-nvim" },
|
|
||||||
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
||||||
|
{
|
||||||
|
"folke/trouble.nvim",
|
||||||
|
opts = {
|
||||||
|
auto_open = false,
|
||||||
|
position = "right"
|
||||||
|
}
|
||||||
|
},
|
||||||
{ import = "astrocommunity.editing-support.refactoring-nvim" },
|
{ import = "astrocommunity.editing-support.refactoring-nvim" },
|
||||||
{ import = "astrocommunity.editing-support.neogen" },
|
{ import = "astrocommunity.editing-support.neogen" },
|
||||||
{ import = "astrocommunity.editing-support.nvim-regexplainer" },
|
{ import = "astrocommunity.editing-support.nvim-regexplainer" },
|
||||||
@@ -33,7 +39,6 @@ return { -- Add the community repository of plugin specific
|
|||||||
{ import = "astrocommunity.markdown-and-latex.glow-nvim" },
|
{ import = "astrocommunity.markdown-and-latex.glow-nvim" },
|
||||||
{ import = "astrocommunity.motion.harpoon" },
|
{ import = "astrocommunity.motion.harpoon" },
|
||||||
{ import = "astrocommunity.pack.php" },
|
{ import = "astrocommunity.pack.php" },
|
||||||
{ import = "astrocommunity.pack.typescript" },
|
|
||||||
{ import = "astrocommunity.project.neoconf-nvim" },
|
{ import = "astrocommunity.project.neoconf-nvim" },
|
||||||
{ import = "astrocommunity.project.nvim-spectre" },
|
{ import = "astrocommunity.project.nvim-spectre" },
|
||||||
{ import = "astrocommunity.project.project-nvim" },
|
{ import = "astrocommunity.project.project-nvim" },
|
||||||
|
|||||||
@@ -5,25 +5,7 @@ return { -- use mason-lspconfig to configure LSP installations
|
|||||||
-- overrides `require("mason-lspconfig").setup(...)`
|
-- overrides `require("mason-lspconfig").setup(...)`
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"ansiblels",
|
|
||||||
"bashls",
|
|
||||||
"clangd",
|
|
||||||
"codeqlls",
|
|
||||||
"cssls",
|
|
||||||
"diagnosticls",
|
"diagnosticls",
|
||||||
"docker_compose_language_service",
|
|
||||||
"dockerls",
|
|
||||||
"eslint",
|
|
||||||
"graphql",
|
|
||||||
"html",
|
|
||||||
"intelephense",
|
|
||||||
"jsonls",
|
|
||||||
"psalm",
|
|
||||||
"stylelint_lsp",
|
|
||||||
"tailwindcss",
|
|
||||||
"tsserver",
|
|
||||||
"vuels",
|
|
||||||
"yamlls",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
}, -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ return {
|
|||||||
null_ls.builtins.diagnostics.psalm,
|
null_ls.builtins.diagnostics.psalm,
|
||||||
null_ls.builtins.diagnostics.semgrep,
|
null_ls.builtins.diagnostics.semgrep,
|
||||||
null_ls.builtins.diagnostics.shellcheck,
|
null_ls.builtins.diagnostics.shellcheck,
|
||||||
null_ls.builtins.diagnostics.standardjs,
|
|
||||||
null_ls.builtins.diagnostics.stylelint,
|
null_ls.builtins.diagnostics.stylelint,
|
||||||
null_ls.builtins.diagnostics.tfsec,
|
null_ls.builtins.diagnostics.tfsec,
|
||||||
null_ls.builtins.diagnostics.trail_space,
|
null_ls.builtins.diagnostics.trail_space,
|
||||||
@@ -43,7 +42,6 @@ return {
|
|||||||
null_ls.builtins.formatting.isort,
|
null_ls.builtins.formatting.isort,
|
||||||
null_ls.builtins.formatting.jq,
|
null_ls.builtins.formatting.jq,
|
||||||
null_ls.builtins.formatting.phpcsfixer,
|
null_ls.builtins.formatting.phpcsfixer,
|
||||||
null_ls.builtins.formatting.prettierd,
|
|
||||||
null_ls.builtins.formatting.shfmt.with {
|
null_ls.builtins.formatting.shfmt.with {
|
||||||
args = { "-i", "1", "-bn", "-ci", "-sr", "-kb", "-fn" },
|
args = { "-i", "1", "-bn", "-ci", "-sr", "-kb", "-fn" },
|
||||||
},
|
},
|
||||||
|
|||||||
43
config/cheat/cheatsheets/personal/git-alias
Normal file
43
config/cheat/cheatsheets/personal/git-alias
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
tags: [ vcs, alias ]
|
||||||
|
---
|
||||||
|
|
||||||
|
# git branchbydate
|
||||||
|
|
||||||
|
List repository branches by date when last updated and extra information.
|
||||||
|
|
||||||
|
# git branchcolor
|
||||||
|
|
||||||
|
List repository branches sorted by when they were last updated.
|
||||||
|
|
||||||
|
# git llog
|
||||||
|
|
||||||
|
Show log with fuller information.
|
||||||
|
|
||||||
|
# git logs
|
||||||
|
|
||||||
|
Git logs with detailed information and git tree.
|
||||||
|
|
||||||
|
# git nah
|
||||||
|
|
||||||
|
Reset all changes.
|
||||||
|
|
||||||
|
# git reset-origin
|
||||||
|
|
||||||
|
Reset to origin.
|
||||||
|
|
||||||
|
# git reset-upstream
|
||||||
|
|
||||||
|
Hard reset to upstream master.
|
||||||
|
|
||||||
|
# git rl
|
||||||
|
|
||||||
|
Colored reflog.
|
||||||
|
|
||||||
|
# git tagdate
|
||||||
|
|
||||||
|
List tags in date order and with graph.
|
||||||
|
|
||||||
|
# git undo-commit
|
||||||
|
|
||||||
|
Undoes last commit.
|
||||||
@@ -25,9 +25,9 @@ export HOMEBREW_PKG="$HOMEBREW/opt"
|
|||||||
export HOMEBREW_NO_ENV_HINTS=1
|
export HOMEBREW_NO_ENV_HINTS=1
|
||||||
|
|
||||||
path_append "/usr/local/bin"
|
path_append "/usr/local/bin"
|
||||||
path_append "$HOMEBREW_SBIN"
|
path_prepend "$HOMEBREW_SBIN"
|
||||||
path_append "$HOMEBREW_BIN"
|
path_prepend "$HOMEBREW_BIN"
|
||||||
path_append "$XDG_BIN_HOME"
|
path_prepend "$XDG_BIN_HOME"
|
||||||
|
|
||||||
# brew, https://brew.sh
|
# brew, https://brew.sh
|
||||||
have brew && {
|
have brew && {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# vim: filetype=zsh
|
# vim: filetype=zsh
|
||||||
source "$DOTFILES/scripts/shared.sh"
|
source "$DOTFILES/scripts/shared.sh"
|
||||||
|
|
||||||
export LC_ALL=fi_FI.utf8
|
export LC_ALL=fi_FI.UTF-8
|
||||||
|
|
||||||
# Bash completion file location
|
# Bash completion file location
|
||||||
export BASH_COMPLETION_USER_FILE="${XDG_CONFIG_HOME}/bash-completion/bash_completion"
|
export BASH_COMPLETION_USER_FILE="${XDG_CONFIG_HOME}/bash-completion/bash_completion"
|
||||||
|
|||||||
@@ -1,59 +1,7 @@
|
|||||||
|
[include]
|
||||||
|
path = ~/.dotfiles/config/git/shared
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Ismo Vuorinen
|
name = Ismo Vuorinen
|
||||||
email = ismo@ivuorinen.net
|
email = ismo@ivuorinen.net
|
||||||
|
|
||||||
[credential]
|
|
||||||
helper = store --file ~/.cache/git/git-credentials
|
|
||||||
helper = cache --timeout 30000
|
|
||||||
|
|
||||||
[core]
|
|
||||||
excludesfile = ~/.config/git/gitignore
|
|
||||||
|
|
||||||
[alias]
|
|
||||||
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
|
||||||
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
|
||||||
nah = !git reset --hard && git clean -df
|
|
||||||
undo-commit = reset HEAD~ --soft
|
|
||||||
llog = log --pretty=fuller
|
|
||||||
logs = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
|
|
||||||
rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)'
|
|
||||||
tagdate = log --date-order --graph --tags --simplify-by-decoration --pretty=format:\"%ai %h %d\"
|
|
||||||
branchbydate = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'
|
|
||||||
branchcolor = "!for ref in $(git for-each-ref --sort=-committerdate --format=\"%(refname)\" refs/heads/ refs/remotes ); do git log -n1 $ref --pretty=format:\"%Cgreen%cr%Creset %C(yellow)%d%Creset %C(bold blue)<%an>%Creset%n\" | cat ; done | awk '! a[$0]++'"
|
|
||||||
|
|
||||||
[diff]
|
|
||||||
tool = difftastic
|
|
||||||
|
|
||||||
[difftool]
|
|
||||||
prompt = false
|
|
||||||
|
|
||||||
[difftool "difftastic"]
|
|
||||||
cmd = difft "$LOCAL" "$REMOTE"
|
|
||||||
|
|
||||||
[filter "lfs"]
|
|
||||||
clean = git-lfs clean -- %f
|
|
||||||
smudge = git-lfs smudge -- %f
|
|
||||||
process = git-lfs filter-process
|
|
||||||
required = true
|
|
||||||
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = true
|
|
||||||
|
|
||||||
[color]
|
|
||||||
ui = true
|
|
||||||
diff = auto
|
|
||||||
branch = auto
|
|
||||||
status = auto
|
|
||||||
|
|
||||||
[color "status"]
|
|
||||||
added = green bold
|
|
||||||
changed = yellow
|
|
||||||
deleted = red bold strike
|
|
||||||
untracked = cyan
|
|
||||||
branch = yellow black bold ul
|
|
||||||
|
|
||||||
[submodule]
|
|
||||||
recurse = true
|
|
||||||
|
|||||||
62
config/git/shared
Normal file
62
config/git/shared
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
[credential]
|
||||||
|
helper = store --file ~/.cache/git/git-credentials
|
||||||
|
helper = cache --timeout 30000
|
||||||
|
|
||||||
|
[core]
|
||||||
|
excludesfile = ~/.config/git/gitignore
|
||||||
|
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
|
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
branchbydate = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'
|
||||||
|
branchcolor = "!for ref in $(git for-each-ref --sort=-committerdate --format=\"%(refname)\" refs/heads/ refs/remotes ); do git log -n1 $ref --pretty=format:\"%Cgreen%cr%Creset %C(yellow)%d%Creset %C(bold blue)<%an>%Creset%n\" | cat ; done | awk '! a[$0]++'"
|
||||||
|
llog = log --pretty=fuller
|
||||||
|
logs = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
|
||||||
|
nah = !git reset --hard && git clean -df
|
||||||
|
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
||||||
|
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
||||||
|
rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)'
|
||||||
|
tagdate = log --date-order --graph --tags --simplify-by-decoration --pretty=format:\"%ai %h %d\"
|
||||||
|
undo-commit = reset HEAD~ --soft
|
||||||
|
|
||||||
|
[filter "lfs"]
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
tool = difftastic
|
||||||
|
|
||||||
|
[difftool]
|
||||||
|
prompt = false
|
||||||
|
|
||||||
|
[difftool "difftastic"]
|
||||||
|
cmd = difft "$LOCAL" "$REMOTE"
|
||||||
|
|
||||||
|
[color]
|
||||||
|
ui = true
|
||||||
|
diff = auto
|
||||||
|
branch = auto
|
||||||
|
status = auto
|
||||||
|
|
||||||
|
[color "status"]
|
||||||
|
added = green bold
|
||||||
|
changed = yellow
|
||||||
|
deleted = red bold strike
|
||||||
|
untracked = cyan
|
||||||
|
branch = yellow black bold ul
|
||||||
|
|
||||||
|
[submodule]
|
||||||
|
recurse = true
|
||||||
|
|
||||||
|
# dotfiles special config
|
||||||
|
[includeIf "hasconfig:remote.*.url:https://github.com/ivuorinen/dotfiles.git"]
|
||||||
|
path = ~/.dotfiles/config/git/special/dotfiles ;
|
||||||
2
config/git/special/dotfiles
Normal file
2
config/git/special/dotfiles
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[submodule]
|
||||||
|
recurse = false
|
||||||
Submodule config/nvim updated: d50611058c...0b723ec1fb
@@ -3,8 +3,6 @@ corepack
|
|||||||
editorconfig-checker
|
editorconfig-checker
|
||||||
github-release-notes
|
github-release-notes
|
||||||
neovim
|
neovim
|
||||||
prettier
|
|
||||||
standardjs
|
|
||||||
stylelint-lsp
|
stylelint-lsp
|
||||||
tldr
|
tldr
|
||||||
|
|
||||||
|
|||||||
44
config/task/taskrc
Normal file
44
config/task/taskrc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# [Created by task 2.6.2 5/11/2023 09:33:14]
|
||||||
|
# Taskwarrior program configuration file.
|
||||||
|
# For more documentation, see https://taskwarrior.org or try 'man task', 'man task-color',
|
||||||
|
# 'man task-sync' or 'man taskrc'
|
||||||
|
|
||||||
|
# Here is an example of entries that use the default, override and blank values
|
||||||
|
# variable=foo -- By specifying a value, this overrides the default
|
||||||
|
# variable= -- By specifying no value, this means no default
|
||||||
|
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
|
||||||
|
|
||||||
|
# You can also refence environment variables:
|
||||||
|
# variable=$HOME/task
|
||||||
|
# variable=$VALUE
|
||||||
|
|
||||||
|
# Use the command 'task show' to see all defaults and overrides
|
||||||
|
|
||||||
|
# Files
|
||||||
|
data.location=$XDG_DATA_HOME/task/
|
||||||
|
|
||||||
|
# To use the default location of the XDG directories,
|
||||||
|
# move this configuration file from ~/.taskrc to ~/.config/task/taskrc and uncomment below
|
||||||
|
|
||||||
|
#data.location=$XDG_DATA_HOME/task
|
||||||
|
#hooks.location=~/.config/task/hooks
|
||||||
|
|
||||||
|
# Color theme (uncomment one to use)
|
||||||
|
#include light-16.theme
|
||||||
|
#include light-256.theme
|
||||||
|
#include dark-16.theme
|
||||||
|
#include dark-256.theme
|
||||||
|
#include dark-red-256.theme
|
||||||
|
#include dark-green-256.theme
|
||||||
|
#include dark-blue-256.theme
|
||||||
|
#include dark-violets-256.theme
|
||||||
|
#include dark-yellow-green.theme
|
||||||
|
#include dark-gray-256.theme
|
||||||
|
#include dark-gray-blue-256.theme
|
||||||
|
#include solarized-dark-256.theme
|
||||||
|
#include solarized-light-256.theme
|
||||||
|
#include no-color.theme
|
||||||
|
|
||||||
|
weekstart=monday
|
||||||
|
|
||||||
|
news.version=2.6.0
|
||||||
@@ -1,60 +1,11 @@
|
|||||||
|
[include]
|
||||||
|
path = ~/.dotfiles/config/git/shared
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Ismo Vuorinen
|
name = Ismo Vuorinen
|
||||||
email = ismo.vuorinen@vincit.fi
|
email = ismo.vuorinen@vincit.fi
|
||||||
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLyOvkr1nRqMVv3UAizmk6C+q40H4khvw7qIXXXyOyFmzjwYx/Cuxoi4uZVjX+q4qFYJ+c312uu6YXiEtfyoCao3wub8r1cLBQ3eIvuyWp2K8Ixcd9JmFmLmoeiENpJxqyr0WPZLDkrCWUZCsQQh8zzGFnfciUdUdTiZ7s21AEhhmFRSdFlVfQSlGMFxU321psg1YilcP80bDwFd1FsL4TssSkwlbgP/twqnpZ4436TTo7kp0UnH/RZkfRdDWScKHaWgncBG0CZeQxGWnRp8fvZn/7gDnthcZhvnDALVBE7QFuZ90GxqVw3IGpHryV0mFO6EGQ9Ke9YX7pKVZPUXZjeCN4SVKsqFdVJ6AjaSJ9K7nL98rYK7qNzndT3cKqPNgPteyXWRulH68A51ecQqHrjTttZcdN9hKt9uBHpzuXsby2QObT+VB4MNjZapa+YYF/WgwJCml4lzn2xMFg1vYZD78pfoJ9e5f2cL1MMlUSDb0TNxmEXfDQ77H/pRpKDz0=
|
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLyOvkr1nRqMVv3UAizmk6C+q40H4khvw7qIXXXyOyFmzjwYx/Cuxoi4uZVjX+q4qFYJ+c312uu6YXiEtfyoCao3wub8r1cLBQ3eIvuyWp2K8Ixcd9JmFmLmoeiENpJxqyr0WPZLDkrCWUZCsQQh8zzGFnfciUdUdTiZ7s21AEhhmFRSdFlVfQSlGMFxU321psg1YilcP80bDwFd1FsL4TssSkwlbgP/twqnpZ4436TTo7kp0UnH/RZkfRdDWScKHaWgncBG0CZeQxGWnRp8fvZn/7gDnthcZhvnDALVBE7QFuZ90GxqVw3IGpHryV0mFO6EGQ9Ke9YX7pKVZPUXZjeCN4SVKsqFdVJ6AjaSJ9K7nL98rYK7qNzndT3cKqPNgPteyXWRulH68A51ecQqHrjTttZcdN9hKt9uBHpzuXsby2QObT+VB4MNjZapa+YYF/WgwJCml4lzn2xMFg1vYZD78pfoJ9e5f2cL1MMlUSDb0TNxmEXfDQ77H/pRpKDz0=
|
||||||
|
|
||||||
[core]
|
|
||||||
excludesfile = ~/.config/git/gitignore
|
|
||||||
|
|
||||||
[alias]
|
|
||||||
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
|
||||||
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
|
||||||
nah = !git reset --hard && git clean -df
|
|
||||||
undo-commit = reset HEAD~ --soft
|
|
||||||
llog = log --pretty=fuller
|
|
||||||
logs = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
|
|
||||||
rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)'
|
|
||||||
tagdate = log --date-order --graph --tags --simplify-by-decoration --pretty=format:\"%ai %h %d\"
|
|
||||||
branchbydate = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'
|
|
||||||
branchcolor = "!for ref in $(git for-each-ref --sort=-committerdate --format=\"%(refname)\" refs/heads/ refs/remotes ); do git log -n1 $ref --pretty=format:\"%Cgreen%cr%Creset %C(yellow)%d%Creset %C(bold blue)<%an>%Creset%n\" | cat ; done | awk '! a[$0]++'"
|
|
||||||
|
|
||||||
[diff]
|
|
||||||
tool = difftastic
|
|
||||||
|
|
||||||
[difftool]
|
|
||||||
prompt = false
|
|
||||||
|
|
||||||
[difftool "difftastic"]
|
|
||||||
cmd = difft "$LOCAL" "$REMOTE"
|
|
||||||
|
|
||||||
[filter "lfs"]
|
|
||||||
clean = git-lfs clean -- %f
|
|
||||||
smudge = git-lfs smudge -- %f
|
|
||||||
process = git-lfs filter-process
|
|
||||||
required = true
|
|
||||||
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = true
|
|
||||||
|
|
||||||
[color]
|
|
||||||
ui = true
|
|
||||||
diff = auto
|
|
||||||
branch = auto
|
|
||||||
status = auto
|
|
||||||
|
|
||||||
[color "status"]
|
|
||||||
added = green bold
|
|
||||||
changed = yellow
|
|
||||||
deleted = red bold strike
|
|
||||||
untracked = cyan
|
|
||||||
branch = yellow black bold ul
|
|
||||||
|
|
||||||
[gpg]
|
|
||||||
format = ssh
|
|
||||||
|
|
||||||
[gpg "ssh"]
|
[gpg "ssh"]
|
||||||
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
|
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
|
||||||
allowedSignersFile = ~/.ssh/allowed_signers
|
allowedSignersFile = ~/.ssh/allowed_signers
|
||||||
@@ -69,7 +20,3 @@
|
|||||||
[credential "https://gist.github.com"]
|
[credential "https://gist.github.com"]
|
||||||
helper =
|
helper =
|
||||||
helper = !/opt/homebrew/bin/gh auth git-credential
|
helper = !/opt/homebrew/bin/gh auth git-credential
|
||||||
|
|
||||||
[submodule]
|
|
||||||
recurse = true
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# shellcheck source=shared.sh
|
# shellcheck source=shared.sh
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
|
||||||
! have npm && msg_err "npm could not be found." && exit 0;
|
! have npm && msg_err "npm could not be found." && exit 0
|
||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
# This is a tool to check if your files consider your .editorconfig rules.
|
# This is a tool to check if your files consider your .editorconfig rules.
|
||||||
@@ -13,9 +13,7 @@ packages=(
|
|||||||
# a tag and uses issues or commits to creating the release notes.
|
# a tag and uses issues or commits to creating the release notes.
|
||||||
"github-release-notes"
|
"github-release-notes"
|
||||||
"neovim"
|
"neovim"
|
||||||
"prettier"
|
|
||||||
"corepack"
|
"corepack"
|
||||||
"standardjs"
|
|
||||||
# CLI and local web plain text note‑taking, bookmarking, and archiving
|
# CLI and local web plain text note‑taking, bookmarking, and archiving
|
||||||
# with linking, tagging, filtering, search, Git versioning & syncing,
|
# with linking, tagging, filtering, search, Git versioning & syncing,
|
||||||
# Pandoc conversion, + more, in a single portable script.
|
# Pandoc conversion, + more, in a single portable script.
|
||||||
@@ -41,4 +39,3 @@ done
|
|||||||
msg_run "Upgrading all global packages"
|
msg_run "Upgrading all global packages"
|
||||||
npm -g --no-progress --no-timing --no-fund outdated
|
npm -g --no-progress --no-timing --no-fund outdated
|
||||||
npm -g --no-timing --no-fund upgrade
|
npm -g --no-timing --no-fund upgrade
|
||||||
|
|
||||||
|
|||||||
Submodule tools/dotbot updated: 328bcb3259...da928a4c6b
Reference in New Issue
Block a user