mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 14:12:53 +02:00
add custom PATH and nix scripts
This commit is contained in:
parent
c7f6768348
commit
780040d017
1 changed files with 10 additions and 3 deletions
|
@ -64,6 +64,13 @@ key[Control-Right]="${terminfo[kRIT5]}"
|
|||
[[ -n "${key[Control-Right]}" ]] && bindkey -- "${key[Control-Right]}" forward-word
|
||||
|
||||
|
||||
# custom PATH
|
||||
path+=("$HOME"'/.local/bin')
|
||||
path+=("$HOME"'/.cargo/bin')
|
||||
# export to sub-processes (make it inherited by child processes)
|
||||
export PATH
|
||||
|
||||
|
||||
# homebrew config
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
|
||||
|
@ -113,6 +120,9 @@ eval "$(atuin init zsh)"
|
|||
# zoxide config
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
# nix config
|
||||
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||
|
||||
# editors
|
||||
export EDITOR="nano"
|
||||
export VISUAL="code"
|
||||
|
@ -154,9 +164,6 @@ alias box='distrobox'
|
|||
|
||||
alias i='cd ~/i'
|
||||
|
||||
# Created by `pipx` on 2024-02-17 11:33:21
|
||||
export PATH="$PATH:/home/ree/.local/bin"
|
||||
|
||||
{{if eq .chezmoi.os "windows" -}}
|
||||
# windows spec config
|
||||
{{- else if eq .chezmoi.os "linux" -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue