mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
fix(fish): use fish_add_path -P
This commit is contained in:
parent
86f648fd3c
commit
9eb553fccc
3 changed files with 30 additions and 33 deletions
30
home/programs/fish/conf.d/01_tooling.fish
Normal file
30
home/programs/fish/conf.d/01_tooling.fish
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# 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
|
||||
|
||||
# Nix
|
||||
fish_add_path -Pm /etc/profiles/per-user/$USER/bin /run/current-system/sw/bin
|
||||
|
||||
# fnm shell env
|
||||
fnm env --use-on-cd | source
|
||||
|
||||
# cargo
|
||||
fish_add_path -P "$HOME/.cargo/bin"
|
||||
# deno
|
||||
fish_add_path -P "$HOME/.deno/bin"
|
||||
|
||||
# pnpm
|
||||
set -x PNPM_HOME "$HOME/Library/pnpm"
|
||||
|
||||
# docker
|
||||
fish_add_path -P "$HOME/.docker/bin"
|
||||
# local bin
|
||||
fish_add_path -P "$HOME/.local/bin"
|
||||
|
||||
# suppress greeting
|
||||
set fish_greeting
|
||||
Loading…
Add table
Add a link
Reference in a new issue