mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +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
|
|
@ -1,6 +0,0 @@
|
||||||
# ls
|
|
||||||
set -x LS_COLORS "$(vivid generate catppuccin-frappe)"
|
|
||||||
|
|
||||||
# nix path patches
|
|
||||||
set -p PATH /run/current-system/sw/bin
|
|
||||||
set -p PATH "/etc/profiles/per-user/$USER/bin"
|
|
||||||
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
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
# 1Password SSH
|
|
||||||
set -x SSH_AUTH_SOCK "$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
|
||||||
|
|
||||||
# Homebrew shell
|
|
||||||
/opt/homebrew/bin/brew shellenv | source
|
|
||||||
|
|
||||||
# fnm shell env
|
|
||||||
fnm env --use-on-cd | source
|
|
||||||
|
|
||||||
# cargo
|
|
||||||
set -p PATH "$HOME/.cargo/bin"
|
|
||||||
# deno
|
|
||||||
set -p PATH "$HOME/.deno/bin"
|
|
||||||
|
|
||||||
# pnpm
|
|
||||||
set -x PNPM_HOME "$HOME/Library/pnpm"
|
|
||||||
|
|
||||||
# direnv
|
|
||||||
set -x DIRENV_LOG_FORMAT ""
|
|
||||||
|
|
||||||
# docker
|
|
||||||
set -p PATH "$HOME/.docker/bin"
|
|
||||||
# local bin
|
|
||||||
set -p PATH "$HOME/.local/bin"
|
|
||||||
|
|
||||||
# fish
|
|
||||||
set fish_greeting
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue