@@ -15,6 +15,9 @@ abbr rm 'rm -v'
1515abbr cp ' cp -v'
1616
1717abbr nr ' npm run'
18+ abbr npmrun ' npm run'
19+ abbr pnpmrun ' pnpm run'
20+
1821
1922alias chmox=' chmod +x'
2023
@@ -28,7 +31,7 @@ alias la='eza --classify=auto --color --group-directories-first --sort=extension
2831# Ehh.. yes gdu is much faster but doesnt support ** in ignore/excludes. use them deliberately for now
2932# alias ncdu "command -v gdu-go > /dev/null && gdu-go || ncdu"
3033
31- abbr write -commit-message " git diffbranch | llm --system-fragment ~/code/dotfiles/private/prompts/devtools-commit-message.md --model=gemini-2.5-pro "
34+ abbr write -commit-message " git diffbranch | llm --system-fragment ~/code/dotfiles/private/prompts/devtools-commit-message.md --model=gemini-3-flash-preview "
3235
3336# typos and abbreviations
3437abbr g git
@@ -40,11 +43,13 @@ abbr bwre brew
4043abbr brwe brew
4144
4245abbr cat ' bat -P'
46+ abbr ccat ' cat'
4347# Skip line-numbers and grid. https://github.com/sharkdp/bat/blob/e608b331425ca2ce8f8d0bd37e7f90901f91eb99/src/style.rs#L27-L61
4448# In the future this can be `default,-numbers,-grid` but they haven't released in 18months so.....
4549set -x BAT_STYLE " changes,header-filename,header-filesize,snip,rule"
4650
4751abbr push " git push"
52+ abbr dels " delta --side-by-side"
4853
4954# `g co`, etc. subcommand expansion with `abbr`.
5055# todo, migrate to the new --command thing? https://github.com/paulirish/dotfiles/issues/121
@@ -76,6 +81,7 @@ function subcommand_abbr
7681end
7782
7883subcommand_abbr git c " commit -am"
84+ abbr gitc " git commit -am"
7985subcommand_abbr git tc " commit -am"
8086subcommand_abbr git cm " commit --no-all -m"
8187subcommand_abbr git co " checkout"
@@ -115,10 +121,14 @@ alias master="main"
115121
116122# fd is fast but their multicore stuff is dumb and slow and bad. https://github.com/sharkdp/fd/issues/1203
117123# alias fd='command fd -j1 --exclude node_modules'
124+ abbr fdfind ' fd'
125+ abbr fzfall ' fd --unrestricted | fzf'
126+
118127# By default watchexec thinks the project origin is higher up. So dumb.
119128abbr watchexec ' watchexec --project-origin . --ignore node_modules'
120129
121130
131+
122132# for counting instances.. `ag -o 'metadata","name":".*?"' trace.json | sorteduniq`
123133alias sorteduniq=" sort | uniq -c | sort --reverse --ignore-leading-blanks --numeric-sort" # -rbn
124134alias sorteduniq-asc=" sort | uniq -c | sort --ignore-leading-blanks --numeric-sort" # -bn
@@ -156,7 +166,7 @@ function gemi
156166 # no markdown parsing here without some real fancy stuff. because you dont want to send to markdown renderer (glow) inbetween backticks, etc.
157167 llm chat -m gemini-2.5-flash
158168 else
159- llm prompt -m gemini-2.5-flash " $argv " && echo " ⬇️… and now rendered…⬇️" && llm logs -r | glow
169+ llm prompt -m gemini-2.5-flash " $argv " && echo -e " \n\n\n ⬇️… and now rendered…⬇️\n\n\n " && llm logs -r | glow
160170 end
161171end
162172
@@ -165,7 +175,7 @@ function openai
165175 if test -z " $argv [1]"
166176 llm chat -m gpt-4o
167177 else
168- llm prompt -m gpt-4o " $argv " && echo " ⬇️… and now rendered…⬇️" && llm logs -r | glow
178+ llm prompt -m gpt-4o " $argv " && echo -e " \n\n\n ⬇️… and now rendered…⬇️\n\n\n " && llm logs -r | glow
169179 end
170180end
171181
0 commit comments