GithubHelp home page GithubHelp logo

sebastienrousseau / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
46.0 4.0 13.0 2.97 MB

Bash configuration files for macOS, Linux and Windows. Tailored to your needs and at your service. ๐Ÿš

Home Page: https://dotfiles.io/

License: Other

Shell 92.66% Makefile 0.77% Vim Script 2.17% JavaScript 4.41%
dotfiles bash curl homebrew linux macos node nvm pnpm posix

dotfiles's People

Contributors

codacy-badger avatar dependabot[bot] avatar fossabot avatar guandalf avatar niamotullah avatar sebastienrousseau avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotfiles's Issues

files downloaded with curl are corrupted because of `.curlrc`

Describe the bug
This issue is reported here
Please fix this

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS
  • Browser
  • Version

Smartphone (please complete the following information):

  • Device
  • OS
  • Browser
  • Version

Additional context
Add any other context about the problem here.

tree in /usr/local/bin overridden by bash tree function

This is related to use of tree.

tree is installed as part of homebrew/brew-package.sh, however there is a function in .bash_profile that essentially overrides this.

I propose one of the following options, please let me you thoughts / objections.

  1. remove the tree function in bash profile
  2. if you want to keep it rename it to treee or btree
  3. wrap the bash function in a check to see if /usr/local/bin/tree exists and either dont load the bash version or load it with a different name.
  4. leave as is

Managing multiple versions of java

After looking into managing java versions, there seems to be two options that make the most sense (to me)
See https://stackoverflow.com/questions/26252591/mac-os-x-and-multiple-java-versions

Have a look and let me know what you think

1) ENV Vars for each with a default (quite clean)


export JAVA_10_HOME=$(/usr/libexec/java_home -v10)
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8)
export JAVA_9_HOME=$(/usr/libexec/java_home -v9)

alias java10='export JAVA_HOME=$JAVA_10_HOME'
alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java9='export JAVA_HOME=$JAVA_9_HOME'

#default java
export JAVA_HOME=$JAVA_10_HOME

Can easily change using the alias'd comands

2) jenv (installed via brew)

This is a fairly comprehensive tool for managing java versions on your machine

Setup jenv (added to .bash_profile)


if which jenv > /dev/null; then 
    eval "$(jenv init -)"
    export PATH="$HOME/.jenv/shims:$PATH"
fi

Then get list of installed java versions


/usr/libexec/java_home -V

Add each one to jenv


jenv add /path/from/above/command

you can then set then check and set the java versions Globally, locally or per folder etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.