File tree Expand file tree Collapse file tree 7 files changed +85
-30
lines changed
Expand file tree Collapse file tree 7 files changed +85
-30
lines changed Original file line number Diff line number Diff line change 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
76tap "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
1113brew "ag"
1214brew "asdf"
1315brew "aws-sam-cli"
16+ brew "awscli"
17+ brew "bandwhich"
1418brew "bat"
19+ brew "carthage" # Dependencies for Cocoa
1520brew "cmake"
21+ brew "colima"
1622brew "direnv"
23+ brew "docker"
1724brew "efm-langserver"
1825brew "elixir"
1926brew "entr"
2027brew "eza"
21- brew "wyne/tap/ fasder"
28+ brew "fasder"
2229brew "fd"
2330brew "ffmpeg"
2431brew "ffmpegthumbnailer"
2532brew "fish"
2633brew "fzf"
2734brew "gh"
28- # brew "gdb" not available on apple silicon
2935brew "git"
36+ brew "git-branch-name"
3037brew "gnupg"
3138brew "golang"
3239brew "graphviz"
@@ -37,6 +44,7 @@ brew "imagemagick"
3744brew "jq"
3845brew "lima"
3946brew "lua-language-server"
47+ brew "marksman" # markdown language server
4048brew "neovim"
4149brew "node"
4250brew "pinentry-mac"
@@ -46,6 +54,7 @@ brew "rbenv"
4654brew "rcm"
4755brew "reattach-to-user-namespace"
4856brew "ripgrep"
57+ brew "ruff"
4958brew "rust-analyzer"
5059brew "shellcheck"
5160brew "shfmt"
@@ -54,46 +63,49 @@ brew "tldr"
5463brew "tmux"
5564brew "tree"
5665brew "unison"
57- brew "autozimu/homebrew-formulas/ unison-fsmonitor"
58- brew "universal-ctags "
66+ brew "unison-fsmonitor"
67+ brew "uv "
5968brew "watch"
6069brew "wget"
70+ brew "wireguard-tools"
6171brew "yaml-language-server"
6272brew "yarn"
63- brew "youtube-dl"
6473brew "yq"
74+ brew "yt-dlp"
6575brew "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
7887cask "alacritty"
79- cask "dash"
8088cask "firefox"
81- cask "google-chrome"
8289cask "gpg-suite"
8390cask "imagealpha"
8491cask "imageoptim"
8592cask "iterm2"
93+ cask "ngrok"
8694cask "obsidian"
87- cask "rowanj-gitx"
88- cask "sequel-pro"
89- cask "slack"
95+ cask "gitx"
9096cask "transmission"
97+ cask "utm"
9198cask "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"
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ PACKAGES=(
1212 black
1313 isort
1414 pyright
15- ruff
1615)
1716
1817pip3 install " ${PACKAGES[@]} "
Original file line number Diff line number Diff line change 5454 fp
5555 fi
5656}
57+
58+ export C_INCLUDE_PATH=$(brew --prefix)/include
59+ export LIBRARY_PATH=$(brew --prefix)/lib
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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' ':')"
4945export 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"
Original file line number Diff line number Diff line change 1+ # vi:ft=bash:
2+ export NEXT_TELEMETRY_DISABLED=1
3+ export SAM_CLI_TELEMETRY=0
Original file line number Diff line number Diff line change @@ -33,10 +33,17 @@ source ~/.env
3333# Example format: plugins=(rails git textmate ruby lighthouse)
3434
3535export 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
3838source $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 '.'
4249export CDPATH=.:~ /Code
You can’t perform that action at this time.
0 commit comments