mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
refactor: flake-parts
This commit is contained in:
parent
872c6be493
commit
42a1293f6d
63 changed files with 1118 additions and 875 deletions
|
|
@ -1,42 +0,0 @@
|
|||
# ls/exa/eza
|
||||
set -x LS_COLORS (vivid generate catppuccin-frappe)
|
||||
|
||||
# 1Password SSH
|
||||
set -x SSH_AUTH_SOCK "$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||
|
||||
# Homebrew
|
||||
/opt/homebrew/bin/brew shellenv | source
|
||||
|
||||
# fnm shell env
|
||||
fnm env --use-on-cd | source
|
||||
|
||||
# cargo
|
||||
fish_add_path -P "$CARGO_HOME/bin"
|
||||
# go
|
||||
fish_add_path -P "$GOPATH/bin"
|
||||
# deno
|
||||
fish_add_path -P "$HOME/.deno/bin"
|
||||
|
||||
# pnpm
|
||||
set -x PNPM_HOME "$HOME/Library/pnpm"
|
||||
fish_add_path -P "$PNPM_HOME"
|
||||
|
||||
# local bin
|
||||
fish_add_path -P "$HOME/.local/bin"
|
||||
|
||||
function expose_app_to_path
|
||||
set -f app $argv[1]
|
||||
|
||||
if test -d ~/"Applications/$app.app"
|
||||
fish_add_path -P ~/"Applications/$app.app/Contents/MacOS"
|
||||
end
|
||||
if test -d "/Applications/$app.app"
|
||||
fish_add_path -P "/Applications/$app.app/Contents/MacOS"
|
||||
end
|
||||
end
|
||||
|
||||
expose_app_to_path Ghostty
|
||||
expose_app_to_path WezTerm
|
||||
|
||||
# suppress greeting
|
||||
set fish_greeting
|
||||
Loading…
Add table
Add a link
Reference in a new issue