mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
feat: ruby & gem support
This commit is contained in:
parent
7df838f2c1
commit
366830df55
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
# Set Devs Tools
|
||||
# [] = {flutter, go, dotnet, npm, cargo}
|
||||
# [] = {flutter, go, dotnet, npm, cargo, gem}
|
||||
export devTools=""
|
||||
#Uncomment if u want this env:
|
||||
# export GOPATH=""
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
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 'cargo' <<< $devTools && source $HOME/.cargo/env
|
||||
grep -q 'gem' <<< $devTools && export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
|
||||
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