Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ done
if is_wsl; then
# check if wslview is installed
# if not, install it
if ! command -v wslview &> /dev/null; then
echo "wslview not found, pls install it"
if ! command -v wsl-open &> /dev/null; then
echo "wsl-open not found, pls install it"
else
export BROWSER="${BROWSER:-wslview}"
export BROWSER="${BROWSER:-wsl-open}"
fi
fi

Expand Down
16 changes: 16 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ fi
# Source your static plugins file.
source $zsh_plugins

#
# keychain
#

test -f /usr/bin/keychain && eval $(/usr/bin/keychain --eval --quiet id_ed25519)

#
# fnm
#

eval $(fnm env | sed 1d)
export PATH=$(cygpath $FNM_MULTISHELL_PATH):$PATH

if [[ -f .node-version || -f .nvmrc ]]; then
fnm use
fi

#
# Local
Expand Down