Pseudo initial
This commit is contained in:
parent
7e204a3d9f
commit
cdfac4d089
13 changed files with 1312 additions and 24 deletions
|
@ -1,7 +1,71 @@
|
|||
# CLI
|
||||
brew "act"
|
||||
brew "ansible"
|
||||
brew "ffmpeg"
|
||||
brew "gh"
|
||||
brew "go"
|
||||
brew "golangci-lint"
|
||||
brew "goreleaser/tap/goreleaser"
|
||||
brew "grep" # Most recent grep
|
||||
brew "httpie"
|
||||
brew "jq"
|
||||
brew "mas"
|
||||
brew "mosh"
|
||||
brew "ncdu"
|
||||
brew "nodejs"
|
||||
brew "nvim"
|
||||
brew "pinentry-mac"
|
||||
brew "pipx"
|
||||
brew "watch"
|
||||
brew "yadm"
|
||||
|
||||
# Cask
|
||||
brew "raycast"
|
||||
brew "visual-studio-code"
|
||||
cask "arc"
|
||||
cask "1password"
|
||||
# cask "adobe-creative-cloud" # Just for testing Photoshop things
|
||||
cask "appcleaner"
|
||||
cask "caffeine"
|
||||
cask "dash"
|
||||
cask "element"
|
||||
cask "fantastical"
|
||||
# cask "firefox"
|
||||
cask "gpg-suite"
|
||||
cask "hammerspoon"
|
||||
# cask "iterm2" # Downloaded beta version manually
|
||||
cask "notion"
|
||||
# cask "obsidian"
|
||||
cask "orbstack"
|
||||
cask "alfred"
|
||||
cask "secretive"
|
||||
cask "steam"
|
||||
cask "synology-drive"
|
||||
cask "tableplus"
|
||||
cask "telegram"
|
||||
cask "visual-studio-code"
|
||||
cask "vlc"
|
||||
|
||||
# tap "guumaster/tap" # Wasn't using it
|
||||
# brew "hostctl"
|
||||
|
||||
# Fonts
|
||||
tap "homebrew/cask-fonts"
|
||||
cask "font-jetbrains-mono"
|
||||
|
||||
# Bun
|
||||
tap "oven-sh/bun"
|
||||
brew "bun"
|
||||
|
||||
# AI
|
||||
cask "diffusionbee"
|
||||
|
||||
# Bandsnatch (download from bandcamp)
|
||||
brew "ovyerus/tap/bandsnatch"
|
||||
|
||||
# Development dependencies
|
||||
brew "imagemagick" # Required by lektor (installed using pipx)
|
||||
|
||||
# Applications from App Store
|
||||
mas "Pixelmator Pro", id: 1289583905
|
||||
mas "Tailscale", id: 1475387142
|
||||
mas "virtualOS", id: 1614659226
|
||||
mas "Xcode", id: 497799835
|
||||
|
|
1088
.dotfiles/Brewfile.lock.json
Normal file
1088
.dotfiles/Brewfile.lock.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo xcode-select --install
|
||||
|
||||
echo "Press [ENTER] when install has finished"
|
||||
read
|
||||
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
11
.dotfiles/bootstrap/00_xcode.sh
Executable file
11
.dotfiles/bootstrap/00_xcode.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if Xcode CLI tools are installed. Install if not.
|
||||
if [ "$(xcode-select --version)" == "" ]; then
|
||||
sudo xcode-select --install
|
||||
|
||||
sudo xcodebuild -license accept
|
||||
|
||||
echo "Press [ENTER] when install has finished"
|
||||
read
|
||||
fi
|
12
.dotfiles/bootstrap/10_brew.sh
Executable file
12
.dotfiles/bootstrap/10_brew.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
0
.dotfiles/bootstrap/01_iterm.sh → .dotfiles/bootstrap/10_iterm.sh
Normal file → Executable file
0
.dotfiles/bootstrap/01_iterm.sh → .dotfiles/bootstrap/10_iterm.sh
Normal file → Executable file
6
.dotfiles/bootstrap/10_system_settings.sh → .dotfiles/bootstrap/50_system_settings.sh
Normal file → Executable file
6
.dotfiles/bootstrap/10_system_settings.sh → .dotfiles/bootstrap/50_system_settings.sh
Normal file → Executable file
|
@ -8,11 +8,11 @@ defaults write com.apple.dock "autohide" -bool "true" #&& killall Dock
|
|||
defaults write com.apple.dock "autohide-delay" -float "0" #&& killall Dock
|
||||
|
||||
# Show only active applications
|
||||
defaults write com.apple.dock "static-only" -bool "true" #&& killall Dock
|
||||
defaults write com.apple.dock "static-only" -bool "false" #&& killall Dock
|
||||
|
||||
# <Workspaces>
|
||||
# Disable auto-switch
|
||||
defaults write com.apple.dock workspaces-auto-swoosh -bool NO #&& killall Dock
|
||||
# Enable auto-switch to most recent app
|
||||
defaults write com.apple.dock workspaces-auto-swoosh -bool YES #&& killall Dock
|
||||
|
||||
# Save in JPEG
|
||||
defaults write com.apple.screencapture "type" -string "jpg"
|
0
.dotfiles/bootstrap/99_brew_install.sh → .dotfiles/bootstrap/80_brew_install.sh
Normal file → Executable file
0
.dotfiles/bootstrap/99_brew_install.sh → .dotfiles/bootstrap/80_brew_install.sh
Normal file → Executable file
8
.dotfiles/bootstrap/81_pipx.sh
Executable file
8
.dotfiles/bootstrap/81_pipx.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
pipx ensurepath
|
||||
|
||||
pipx install yt-dlp
|
||||
pipx install lektor
|
||||
|
||||
pipx reinstall-all
|
7
.dotfiles/bootstrap/85_nvim.sh
Executable file
7
.dotfiles/bootstrap/85_nvim.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install nvchad
|
||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||
echo "Installing nvchad"
|
||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||
fi
|
7
.dotfiles/bootstrap/85_oh_my_zsh.sh
Normal file
7
.dotfiles/bootstrap/85_oh_my_zsh.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install oh-my-zsh if the folder does not exist
|
||||
if [ ! -d "$HOME/.oh-my-zsh" ]; then
|
||||
echo "Installing oh-my-zsh"
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
fi
|
7
.dotfiles/bootstrap/90_appstore.sh
Executable file
7
.dotfiles/bootstrap/90_appstore.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Handled by brewfile
|
||||
|
||||
# mas install 1475387142 # Tailscale
|
||||
# mas install 497799835 # Xcode
|
||||
# mas install 1289583905 # Pixelmator Pro
|
101
.zshrc
Normal file
101
.zshrc
Normal file
|
@ -0,0 +1,101 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="robbyrussell"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment one of the following lines to change the auto-update behavior
|
||||
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||
# zstyle ':omz:update' mode auto # update automatically without asking
|
||||
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# zstyle ':omz:update' frequency 13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# You can also set it to another string to have that shown instead of the default red dots.
|
||||
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
||||
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
Loading…
Add table
Add a link
Reference in a new issue