From 1e606eaeb53017b5a157f98228856cd129c26252 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 4 Jun 2022 11:46:08 -0500 Subject: [PATCH] formatting + pnpm add --- system/alias.sh | 2 +- system/env.sh | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/system/alias.sh b/system/alias.sh index 19731b3..8c5c1c6 100644 --- a/system/alias.sh +++ b/system/alias.sh @@ -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' diff --git a/system/env.sh b/system/env.sh index 4761b11..7a5c175 100644 --- a/system/env.sh +++ b/system/env.sh @@ -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