Skip to content

Commit

Permalink
align node modules paths
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jun 19, 2024
1 parent ced3505 commit bad8980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ RUN microdnf -y install --setopt=install_weak_deps=False \
which procps-ng \
${EXTRA_PKGS} \
&& ln -sf nvim /usr/bin/vim \
&& ln -sfL /usr/lib/node_modules/.bin/typescript-language-server /usr/local/bin/ \

# create user entry or podman will mess up /etc/passwd entry
# also grant passwordless sudo
Expand Down
4 changes: 1 addition & 3 deletions skel/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ export VISUAL=vim

export PATH="${HOME}/bin:${PATH}"
export PATH="${HOME}/.local/bin:$PATH"
export PATH="${HOME}/.corepack/bin:${HOME}/.npm-global/bin:${PATH}"
# typescript-language-server
export PATH="/usr/lib/node_modules/.bin:$PATH"
export PATH="${PATH}:${HOME}/.corepack/bin:${HOME}/.npm-global/bin"

export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
Expand Down

0 comments on commit bad8980

Please sign in to comment.