dot: bash add-to-path 函数添加 -s 静默参数

This commit is contained in:
2026-03-16 19:06:17 +08:00
parent 9ce32f5670
commit ce4c0f1d1a
4 changed files with 34 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ source "${basedir}/function.bash"
unset basedir
export PNPM_HOME="${HOME}/.local/share/pnpm"
add-to-path $PNPM_HOME
add-to-path -s $PNPM_HOME
if [[ -x "$(type -p pnpm)" ]]; then
generate-bash-completion pnpm "pnpm completion bash"