update
This commit is contained in:
parent
20812bbbe5
commit
e7d983280f
|
@ -15,8 +15,7 @@ export XDG_STATE_HOME="$HOME/.local/state"
|
|||
#export XDG_CONFIG_DIRS=""
|
||||
|
||||
# Move folders from ~ to their XDG location:
|
||||
#export ZDOTDIR="$HOME/.config/zsh"
|
||||
#export ZSH="$HOME/.config/omz"
|
||||
export ZDOTDIR="$HOME/.config/zsh"
|
||||
export ZSH="$XDG_DATA_HOME/oh-my-zsh"
|
||||
export LESSHISTFILE="$HOME/.config/lesshst"
|
||||
export HISTFILE="$XDG_STATE_HOME/zsh/history"
|
||||
|
@ -54,16 +53,6 @@ export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
|||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Folders added to $PATH:
|
||||
export PATH="$PROJECTS/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
export PATH="$HOME/.nimble/bin:$PATH"
|
||||
|
||||
#export PATH=$HOME/home/linux/.cargo/bin:$PATH
|
||||
|
||||
# Default programs:
|
||||
export VISUAL="nvim"
|
||||
export EDITOR="nvim"
|
||||
|
@ -74,11 +63,4 @@ export BROWSER="firefox"
|
|||
export PF_INFO="ascii os kernel uptime de wm shell editor palette"
|
||||
|
||||
# use qt file picker
|
||||
export GTK_USE_PORTAL=1
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/linux/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
export GTK_USE_PORTAL=1
|
|
@ -43,6 +43,7 @@ emoji
|
|||
zsh-syntax-highlighting
|
||||
)
|
||||
|
||||
source "$XDG_CONFIG_HOME/zsh/path"
|
||||
source "$XDG_CONFIG_HOME/zsh/icons"
|
||||
source "$XDG_CONFIG_HOME/zsh/alias"
|
||||
source "$XDG_CONFIG_HOME/zsh/func"
|
||||
|
@ -57,5 +58,4 @@ bindkey -s '^x' '&> /dev/null & disown\n'
|
|||
# zoxide
|
||||
eval "$(zoxide init zsh --cmd cd)"
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun"
|
||||
|
|
19
private_dot_config/zsh/path
Normal file
19
private_dot_config/zsh/path
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/zsh
|
||||
|
||||
export PATH="$PROJECTS/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# programming languages
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
export PATH="$HOME/.nimble/bin:$PATH"
|
||||
export PATH="$HOME/.local/share/python/bin:$PATH"
|
||||
export PATH=$HOME/home/linux/.cargo/bin:$PATH
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/linux/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
|
Loading…
Reference in a new issue