mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
feat: add cargo
This commit is contained in:
parent
f06f26e83c
commit
7df838f2c1
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# Set Devs Tools
|
||||
# [] = {flutter, go, dotnet, npm}
|
||||
# [] = {flutter, go, dotnet, npm, cargo}
|
||||
export devTools=""
|
||||
#Uncomment if u want this env:
|
||||
# export GOPATH=""
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
source $OTHER/env.zsh
|
||||
grep -q 'flutter' <<< $devTools && export PATH="$PATH:$HOME/.development/flutter/bin"
|
||||
grep -q 'dotnet' <<< $devTools && export PATH="$PATH:$HOME/.dotnet"
|
||||
grep -q 'cargo' <<< $devTools && source $HOME/.cargo/env
|
||||
# https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
|
||||
grep -q 'npm' <<< $devTools && export PATH="$PATH:$HOME/.npm-global/bin"
|
||||
grep -q 'go' <<< $devTools && export PATH="$PATH:/usr/local/go/bin:$(/usr/local/go/bin/go env GOPATH)/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue