Skip to content

Commit 7605410

Browse files
more stuff
1 parent 3ec96b4 commit 7605410

File tree

5 files changed

+36
-4
lines changed

5 files changed

+36
-4
lines changed

.config/ghostty/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ resize-overlay = never
3737

3838
quit-after-last-window-closed = true
3939

40+
auto-update-channel = tip
41+
4042
# vim: commentstring=#\ %s

.zshenv

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export PNPM_HOME="/Users/benricheson/Library/pnpm"
1+
export PNPM_HOME="$HOME/Library/pnpm"
2+
export ASDF_DATA_DIR="$HOME/.asdf"
23

34
typeset -U FPATH fpath
45
typeset -U PATH path
@@ -10,20 +11,22 @@ path=(
1011
$HOME/go
1112
$HOME/.pyenv/shims
1213
$HOME/.cargo/bin
14+
$ASDF_DATA_DIR/shims
1315
/Applications/Ghostty.app/Contents/MacOS
1416
$HOIME/Library/Application\ Support/JetBrains/Toolbox/scripts
1517
/opt/homebrew/bin
1618
/opt/homebrew/sbin
1719
/opt/homebrew/opt/make/libexec/gnubin
1820
/opt/homebrew/opt/openjdk/bin
1921
/usr/local/bin
22+
/opt/homebrew/opt/rustup/bin
2023
$path
2124
)
2225

2326
fpath+=(
27+
$HOME/.local/share/zsh/completion
2428
/opt/homebrew/share/zsh/site-functions
2529
$HOME/.local/share/zsh/functions
26-
$HOME/.local/share/zsh/completion
2730
$HOME/scripts/functions
2831
)
2932

@@ -51,7 +54,7 @@ alias b='brew'
5154
alias bi='brew install'
5255
alias bu='brew uninstall'
5356
alias bz='bazel'
54-
alias c='/Users/benricheson/.cargo/bin/cargo'
57+
alias c='cargo'
5558
alias cat='bat -p --theme Nord'
5659
alias cls='clear'
5760
alias d='docker'

.zshrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ zle -N up-line-or-beginning-search
3838
zle -N down-line-or-beginning-search
3939

4040
autoload -U compinit && compinit -C
41-
autoload -Uz nvm mk
41+
autoload -Uz nvm mk trim
4242

4343
KEYTIMEOUT=1
4444
bindkey -v

scripts/backup

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,25 @@ restic backup \
1616
--exclude 'CloudStorage/*' \
1717
--exclude=$HOME/{.cache,.npm,.pnpm,.Trash}/\* \
1818
~
19+
20+
# --exclude=$HOME/{Pictures,Library,Movies,Music,.Trash}/\* \
21+
22+
23+
#!/usr/bin/env bash
24+
25+
. ~/.env
26+
27+
# restic backup \
28+
# --exclude-caches \
29+
# --exclude 'node_modules/*' \
30+
# --exclude 'build/*' \
31+
# --exclude 'dist/*' \
32+
# --exclude 'target/*' \
33+
# --exclude 'pkg/mod/*' \
34+
# --exclude=$HOME/{.Trash,.asdf,.bun,.pnpm,.stack,.mongodb,.cabal,.cache,.cargo}/\* \
35+
# --exclude '.Trash/*' \
36+
# --exclude '/Applications/*' \
37+
# --exclude 'Mobile Documents/*' \
38+
# --exclude 'CloudStorage/*' \
39+
# /
40+
# --exclude=$HOME/{Pictures,Library,Movies,Music,.Trash,.asdf,.bun,.pnpm,.stack,.mongodb,.cabal,.cache,.cargo}/\* \

scripts/functions/trim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env zsh
2+
3+
trim() {
4+
print -n ${(*)${(*)${1:-$(< /dev/stdin)}%%[[:space:]]##}##[[:space:]]##}
5+
}

0 commit comments

Comments
 (0)