Skip to content

Commit a161aec

Browse files
committed
ci: please the lint lairds
1 parent 63509d9 commit a161aec

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

.chezmoidata/packages.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,22 @@ packages:
3737
- direnv
3838
- eza
3939
- fzf
40+
- ggshield
4041
- gh
4142
- git
43+
- golang
44+
- golangci-lint
4245
- htop
4346
- jq
4447
- lazygit
4548
- neofetch
4649
- neovim
50+
- pre-commit
4751
- ripgrep
4852
- rsync
4953
- tree-sitter
54+
- yamlfmt
55+
- yamllint
5056
- yq
5157
- zellij
5258
- zoxide

dot_profile dot_bash_profile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env bash
22

3-
# Added by Toolbox App
4-
export PATH="${HOME}.local/share/JetBrains/Toolbox/scripts:${PATH}"
5-
63
if [ -f "${HOME}/.bashrc" ]; then
74
# shellcheck disable=SC1091
85
source "${HOME}/.bashrc"
96
fi
7+
8+
export PATH="${HOME}/.local/share/JetBrains/Toolbox/scripts:${PATH}"
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
# Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
4+
# HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
5+
6+
if command -v brew &>/dev/null; then
7+
export HOMEBREW_AUTO_UPDATE_SECS=900
8+
export HOMEBREW_NO_ENV_HINTS=1
9+
fi

script_utils.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ verlt() {
2121
! verlte "$2" "$1"
2222
}
2323

24-
join_by() { local IFS="$1"; shift; echo "$*"; }
24+
join_by() {
25+
local IFS="$1"
26+
shift
27+
echo "$*"
28+
}
2529

2630
osid() {
2731
if [ -f /etc/os-release ]; then
32+
# shellcheck disable=SC1091
2833
source /etc/os-release
2934
join_by '-' "${ID}" "${VARIANT_ID}"
3035
else

0 commit comments

Comments
 (0)