Compare commits

...

6 Commits

7 changed files with 25 additions and 18 deletions

View File

@@ -22,16 +22,6 @@ jobs:
steps:
- name: Clean up previous checkouts
shell: bash
run: |
rm -rf ${{ github.workspace }}
- name: Reset file permissions
shell: bash
run: |
sudo chown -R $(whoami) ${{ github.workspace }}
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:

1
.gitignore vendored
View File

@@ -44,3 +44,4 @@ config/fish/fish_variables
config/fish/completions/asdf.fish
config/vim/.netrwhist
config/vim/extra/*
config/gh/hosts.yml

View File

@@ -29,7 +29,7 @@ repos:
args: [-c, .markdownlint.json, --fix]
- repo: https://github.com/adrienverge/yamllint
rev: v1.36.0
rev: v1.36.1
hooks:
- id: yamllint
@@ -49,7 +49,7 @@ repos:
- id: actionlint
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.196.0
rev: 39.205.1
hooks:
- id: renovate-config-validator

View File

@@ -52,3 +52,21 @@ function .s --wraps='cd ~/Code/s' --description 'cd ~/Code/s'
cd ~/Code/s $argv
end
# shortcut to commit with a message
function commit --wraps='git commit -a -m "chore: automated commit"' --description 'commit shortcut'
set -l commitMessage $argv
git add .
if test -z "$commitMessage"
if type -q aicommits
aicommits --type conventional
else
git commit -a -m "chore: automated commit"
end
return
end
git commit -a -m "$commitMessage"
end

View File

@@ -64,8 +64,9 @@ section_install()
$0 install macos
$0 install fonts
$0 brew install
$0 install cargo
$0 install go
$0 install composer
$0 install fzf
$0 install cheat-databases
$0 install nvm
$0 install npm-packages

View File

@@ -43,6 +43,7 @@ add_fonts_to_sparse_checkout()
install_fonts()
{
msgr run "Starting to install NerdFonts..."
# shellcheck disable=SC2048,SC2086
./install.sh -q -s ${fonts[*]}
msgr run_done "Done"
}

View File

@@ -41,9 +41,6 @@ msgr nested "Setting General UI/UX settings"
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Menu bar: disable transparency
#defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Set sidebar icon size to small
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 1
@@ -339,8 +336,7 @@ msgr nested "Restarting applications to apply changes"
###############################################################################
for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \
"Dock" "Finder" "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer" \
"Terminal" "Transmission" "iCal"; do
"Dock" "Finder" "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer"; do
killall "${app}" > /dev/null 2>&1
done