Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# https://editorconfig.org

# top-most EditorConfig file
# EditorConfig — https://editorconfig.org
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
max_line_length = 120
indent_size = 2
indent_style = space
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

# Set default charset
[*.md]
charset = utf-8
[{*.{md,rst,txt},*.env,*.env.*}]
trim_trailing_whitespace = false

# Tab indentation
[Makefile]
indent_size = 4
indent_style = tab
indent_size = 4

[*.{pem,crt,key,p12,pfx}]
insert_final_newline = false
trim_trailing_whitespace = false
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Created by https://gitignore.io/api/osx,linux,vim,homebrew
# Edit at https://gitignore.io/?templates=osx,linux,vim,homebrew

### Homebrew ###
Brewfile.lock.json
Expand Down Expand Up @@ -72,4 +71,3 @@ tags

secrets/
secrets.tar.gz
.vscode
7 changes: 3 additions & 4 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Fonts
cask "font-fira-code"
cask 'font-fira-code'
cask 'font-zed-mono-nerd-font'
cask 'font-zed-mono'
cask 'font-zed-sans'
Expand All @@ -9,6 +9,7 @@ brew 'awscli'
brew 'ansible'
brew 'asciinema'
brew 'bash'
brew 'bash-completion@2'
brew 'grip'
brew 'htop'
brew 'osx-cpu-temp'
Expand All @@ -17,13 +18,10 @@ brew 'starship'
brew 'yt-dlp'
brew 'kubectx'
brew 'nmap'
brew 'pipx'
brew 'shellcheck'
brew 'shfmt'
brew 'skopeo'
brew 'gh'


# Casks
cask 'amneziavpn'
cask 'appcleaner'
Expand All @@ -35,6 +33,7 @@ cask 'macpass'
cask 'motrix'
cask 'obsidian'
cask 'onyx'
cask 'pock'
cask 'raspberry-pi-imager'
cask 'resilio-sync'
cask 'slack'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 github.com/exdial
Copyright (c) 2024-2026 exdial

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ dotfiles: logo

homebrew:
echo "✔︎ installing Homebrew..."
if [ ! -d "/usr/local/Homebrew" ]; then \
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if [ ! -d /usr/local/Homebrew ]; then \
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
fi

echo "✔︎ installing Homebrew packages..."
Expand Down
28 changes: 23 additions & 5 deletions files/bash_profile
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
# Most of the time you don’t want to maintain two separate config files for
# login and non-login shells — when you set a PATH, you want it to apply
# to both. You can fix this by sourcing .bashrc from your .bash_profile file,
# then putting PATH and common settings in .bashrc.
# ~/.bash_profile
# ----------------------------------------------------------------------
# Bash login shell bootstrap
#
# Loaded for login Bash sessions. Its primary purpose is to source
# ~/.bashrc so both login and non-login shells share a single unified
# configuration for PATH, environment variables, aliases, prompt,
# completions, and shell behavior.
#
# This avoids maintaining duplicate settings across multiple startup
# files and keeps Bash configuration consistent across local terminals,
# SSH sessions, and other login environments.
#
# Repository:
# https://github.com/exdial/dotfiles
#
# References:
# GNU Bash Startup Files
# https://www.gnu.org/software/bash/manual/bash.html#Bash-Startup-Files
# ----------------------------------------------------------------------

# shellcheck source=/dev/null
test -f ~/.bashrc && . ~/.bashrc

# Load .bashrc when available
test -r "$HOME/.bashrc" && . "$HOME/.bashrc"
Loading
Loading