From 873c3cc7f64e749ded01da5d437eb25c164d46bd Mon Sep 17 00:00:00 2001 From: Tobias Schmidl <5060861-schtobia@users.noreply.gitlab.com> Date: Thu, 19 Dec 2024 10:31:31 +0100 Subject: [PATCH 1/4] zsh: switched from ssh-agent --> keychain, added direnv plugin --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 1a40acb..0d299cc 100644 --- a/.zshrc +++ b/.zshrc @@ -5,6 +5,8 @@ setopt HIST_IGNORE_SPACE setopt HIST_FIND_NO_DUPS setopt HIST_SAVE_NO_DUPS +zstyle :omz:plugins:keychain agents gpg,ssh +zstyle :omz:plugins:keychain options --quiet zstyle :omz:plugins:ssh-agent agent-forwarding yes zstyle :omz:plugins:ssh-agent lazy yes zstyle :omz:plugins:ssh-agent lifetime 8h @@ -18,9 +20,11 @@ tmux command-not-found debian direnv +git +git-extras gpg-agent +keychain pip -ssh-agent common-aliases MichaelAquilina/zsh-you-should-use svenXY/timewarrior From a84e521291c477b7c614847fb360e53459191bbf Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 11 Nov 2024 15:48:25 +0100 Subject: [PATCH 2/4] added pre-commit config --- .pre-commit-config.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5d8bbcc --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +--- +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-ast + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-merge-conflict + - id: check-byte-order-marker +- repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.42.0 + hooks: + - id: markdownlint + args: ["--disable", "MD013", "--"] +- repo: https://github.com/koalaman/shellcheck-precommit + rev: v0.10.0 + hooks: + - id: shellcheck +... From c3f93023dd40129528fbc157781095fb6db7ae6f Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 19 Dec 2024 10:56:57 +0100 Subject: [PATCH 3/4] vimrc: added options for netrw --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index 53a9fe6..6ec3b6f 100644 --- a/.vimrc +++ b/.vimrc @@ -73,6 +73,11 @@ let g:blamer_prefix = ' > ' let g:gitgutter_highlight_lines = 1 let g:gitgutter_highlight_linenrs = 1 let g:goyo_width = 120 +let g:netrw_banner = 0 +let g:netrw_keepdir = 0 +let g:netrw_liststyle = 3 +let g:netrw_localcopydircmd = 'cp -r' +let g:netrw_winsize = 20 let g:startify_fortune_use_unicode = 1 let g:startify_session_autoload = 1 let g:startify_session_persistence = 1 From a13427da06c78773aa9ae1c2580d4855a6c87a35 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 19 Dec 2024 11:38:07 +0100 Subject: [PATCH 4/4] fixup! zsh: switched from ssh-agent --> keychain, added direnv plugin --- .zshrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 0d299cc..9be03eb 100644 --- a/.zshrc +++ b/.zshrc @@ -14,10 +14,8 @@ zstyle :omz:plugins:ssh-agent lifetime 8h source $HOME/.local/lib/zsh/antigen/bin/antigen.zsh antigen use oh-my-zsh antigen bundles <