Skip to content

Commit 676dc48

Browse files
committed
lingering changes
1 parent f3e62ad commit 676dc48

File tree

7 files changed

+85
-30
lines changed

7 files changed

+85
-30
lines changed

Brewfile

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
11
# frozen_string_literal: true
22

33
# vi:ft=ruby:
4-
tap "homebrew/services"
5-
tap "thoughtbot/formulae"
6-
tap "universal-ctags/universal-ctags"
4+
5+
tap "autozimu/homebrew-formulas" # unison-fsmonitor
76
tap "aws/tap"
8-
tap "homebrew/cask-versions"
7+
tap "itchyny/tap" # git-branch-name
8+
tap "thoughtbot/formulae" # rcm
9+
tap "universal-ctags/universal-ctags"
10+
tap "wyne/tap" # fasder
911

1012
# Utils
1113
brew "ag"
1214
brew "asdf"
1315
brew "aws-sam-cli"
16+
brew "awscli"
17+
brew "bandwhich"
1418
brew "bat"
19+
brew "carthage" # Dependencies for Cocoa
1520
brew "cmake"
21+
brew "colima"
1622
brew "direnv"
23+
brew "docker"
1724
brew "efm-langserver"
1825
brew "elixir"
1926
brew "entr"
2027
brew "eza"
21-
brew "wyne/tap/fasder"
28+
brew "fasder"
2229
brew "fd"
2330
brew "ffmpeg"
2431
brew "ffmpegthumbnailer"
2532
brew "fish"
2633
brew "fzf"
2734
brew "gh"
28-
# brew "gdb" not available on apple silicon
2935
brew "git"
36+
brew "git-branch-name"
3037
brew "gnupg"
3138
brew "golang"
3239
brew "graphviz"
@@ -37,6 +44,7 @@ brew "imagemagick"
3744
brew "jq"
3845
brew "lima"
3946
brew "lua-language-server"
47+
brew "marksman" # markdown language server
4048
brew "neovim"
4149
brew "node"
4250
brew "pinentry-mac"
@@ -46,6 +54,7 @@ brew "rbenv"
4654
brew "rcm"
4755
brew "reattach-to-user-namespace"
4856
brew "ripgrep"
57+
brew "ruff"
4958
brew "rust-analyzer"
5059
brew "shellcheck"
5160
brew "shfmt"
@@ -54,46 +63,49 @@ brew "tldr"
5463
brew "tmux"
5564
brew "tree"
5665
brew "unison"
57-
brew "autozimu/homebrew-formulas/unison-fsmonitor"
58-
brew "universal-ctags"
66+
brew "unison-fsmonitor"
67+
brew "uv"
5968
brew "watch"
6069
brew "wget"
70+
brew "wireguard-tools"
6171
brew "yaml-language-server"
6272
brew "yarn"
63-
brew "youtube-dl"
6473
brew "yq"
74+
brew "yt-dlp"
6575
brew "zlib"
66-
brew "colima"
67-
brew "docker"
6876

6977
# Garbage Heap?
70-
# brew "awscli"
71-
# brew "gnupg21"
72-
# brew "docker"
7378
# brew "docker-compose"
7479
# brew "docker-machine"
80+
# brew "gdb" not available on apple silicon
81+
# brew "gnupg21"
82+
# brew "nerdctl"
83+
# brew "universal-ctags"
7584
# brew "willgit"
7685

7786
# Applications
7887
cask "alacritty"
79-
cask "dash"
8088
cask "firefox"
81-
cask "google-chrome"
8289
cask "gpg-suite"
8390
cask "imagealpha"
8491
cask "imageoptim"
8592
cask "iterm2"
93+
cask "ngrok"
8694
cask "obsidian"
87-
cask "rowanj-gitx"
88-
cask "sequel-pro"
89-
cask "slack"
95+
cask "gitx"
9096
cask "transmission"
97+
cask "utm"
9198
cask "vagrant"
92-
cask "virtualbox"
93-
cask "xquartz"
94-
cask "zoom"
99+
# cask "virtualbox-beta"
100+
# cask "virtualbox-extension-pack-beta"
101+
# cask "slack"
95102

96103
# Garbage Heap?
97-
# cask "psequel"
98-
# cask "osxfuse"
104+
# cask "dash"
105+
# cask "google-chrome"
99106
# cask "macfuse"
107+
# cask "osxfuse"
108+
# cask "psequel"
109+
# cask "sequel-pro"
110+
# cask "xquartz"
111+
# cask "zoom"

install/python-packages

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ PACKAGES=(
1212
black
1313
isort
1414
pyright
15-
ruff
1615
)
1716

1817
pip3 install "${PACKAGES[@]}"

sources/brew

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ fp() {
5454
fp
5555
fi
5656
}
57+
58+
export C_INCLUDE_PATH=$(brew --prefix)/include
59+
export LIBRARY_PATH=$(brew --prefix)/lib

sources/fasd

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env zsh
2+
3+
# check if fasd is installed
4+
if (( ${+commands[fasd]} )); then
5+
fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache"
6+
if [[ "$commands[fasd]" -nt "$fasd_cache" || ! -s "$fasd_cache" ]]; then
7+
fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install \
8+
zsh-wcomp zsh-wcomp-install >| "$fasd_cache"
9+
fi
10+
source "$fasd_cache"
11+
unset fasd_cache
12+
13+
alias v='f -e "$EDITOR"'
14+
alias o='a -e xdg-open'
15+
alias j='zz'
16+
fi
17+
18+
# check if fasder is installed (macOs)
19+
if (( ${+commands[fasder]} )); then
20+
alias fasd="fasder"
21+
22+
fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache"
23+
if [[ "$commands[fasder]" -nt "$fasd_cache" || ! -s "$fasd_cache" ]]; then
24+
fasd --init auto aliases >| "$fasd_cache"
25+
fi
26+
source "$fasd_cache"
27+
unset fasd_cache
28+
fi
29+
30+

sources/paths

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Customs
2-
export PATH="$PATH:$HOME/.bin"
3-
export PATH="$PATH:/usr/local/sbin"
4-
51
# Node
62
# export PATH="`npm bin -g`:$PATH" # npm
73
# export PATH="$PATH:`yarn global bin`" # yarn
@@ -47,3 +43,8 @@ export PATH="$HOME/.cargo/bin:$PATH"
4743
# Dedup PATH:
4844
# export PATH="$(echo $PATH | tr ':' '\n' | awk '!a[$0]++' | tr '\n' ':')"
4945
export PATH="$(echo $PATH | awk -v RS=: -v ORS=: '!($2 in a) {a[$0]; print}')"
46+
47+
# Customs
48+
export PATH="$HOME/.bin:$PATH"
49+
export PATH="$HOME/.local/bin:$PATH"
50+
export PATH="$PATH:/usr/local/sbin"

sources/telemetry

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# vi:ft=bash:
2+
export NEXT_TELEMETRY_DISABLED=1
3+
export SAM_CLI_TELEMETRY=0

zshrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,17 @@ source ~/.env
3333
# Example format: plugins=(rails git textmate ruby lighthouse)
3434

3535
export VI_MODE_SET_CURSOR=true
36-
plugins=(git bundler macos vi-mode history-substring-search fzf tmux zsh-interactive-cd)
36+
plugins=(git macos vi-mode history-substring-search fzf tmux zsh-interactive-cd)
3737

3838
source $ZSH/oh-my-zsh.sh
3939

40+
# speed up git prompt info (manually run `git status` in the repository fixes
41+
# this)
42+
function git_prompt_info() {
43+
ref=$(git-branch-name -q -h 12 -b 64) || return
44+
echo "${ZSH_THEME_GIT_PROMPT_PREFIX}${ref}$(parse_git_dirty)${ZSH_THEME_GIT_PROMPT_SUFFIX}"
45+
}
46+
4047
# cd into projets faster
4148
# make sure to prepend the current directory '.'
4249
export CDPATH=.:~/Code

0 commit comments

Comments
 (0)