formatting + pnpm add
This commit is contained in:
parent
a127eb118c
commit
1e606eaeb5
2 changed files with 14 additions and 9 deletions
|
@ -28,7 +28,7 @@ alias code2="code-insiders"
|
|||
if is-executable lsd; then
|
||||
|
||||
is-tty && alias lsd="lsd --icon never"
|
||||
alias ls='lsd'
|
||||
alias ls='lsd'
|
||||
alias l='lsd -l'
|
||||
alias la='lsd -a'
|
||||
alias lla='lsd -la'
|
||||
|
|
|
@ -68,9 +68,9 @@ fi
|
|||
export ENHANCD_DOT_ARG="up"
|
||||
|
||||
if is-tty; then
|
||||
export STARSHIP_CONFIG=~/.config/starship/plain.toml
|
||||
export STARSHIP_CONFIG=~/.config/starship/plain.toml
|
||||
else
|
||||
export STARSHIP_CONFIG=~/.config/starship/config.toml
|
||||
export STARSHIP_CONFIG=~/.config/starship/config.toml
|
||||
fi
|
||||
|
||||
export EGET_BIN=$HOME/bin
|
||||
|
@ -88,10 +88,15 @@ if is-executable shiv; then
|
|||
fi
|
||||
|
||||
# pyenv
|
||||
if [ -d "$HOME/.pyenv" ];then
|
||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
if [ -d "$HOME/.pyenv" ]; then
|
||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/daylin/.local/share/pnpm"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
# pnpm end
|
||||
|
|
Loading…
Reference in a new issue