Created
May 11, 2022 08:59
-
-
Save atmosfeer/8388ba62e2892beeb3fd5f78b653f3e6 to your computer and use it in GitHub Desktop.
Default config file for Karnov Ruby Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH=$HOME/.oh-my-zsh | |
# You can change the theme with another one from https://github.com/robbyrussell/oh-my-zsh/wiki/themes | |
ZSH_THEME="robbyrussell" | |
# Useful oh-my-zsh plugins for Karnov Academy | |
plugins=(git gitfast last-working-dir common-aliases zsh-syntax-highlighting history-substring-search) | |
# Disable warning about insecure completion-dependent directories | |
ZSH_DISABLE_COMPFIX=true | |
# Actually load Oh-My-Zsh | |
source "${ZSH}/oh-my-zsh.sh" | |
unalias rm # No interactive rm by default (brought by plugins/common-aliases) | |
unalias lt # we need `lt` for https://github.com/localtunnel/localtunnel | |
# Load rbenv if installed (to manage your Ruby versions) | |
export PATH="${HOME}/.rbenv/bin:${PATH}" # Needed for Linux/WSL | |
type -a rbenv > /dev/null && eval "$(rbenv init -)" | |
# Rails and Ruby uses the local `bin` folder to store binstubs. | |
# So instead of running `bin/rails` like the doc says, just run `rails` | |
# Same for `./node_modules/.bin` and nodejs | |
export PATH="./bin:./node_modules/.bin:${PATH}:/usr/local/sbin" | |
# Store your own aliases in the ~/.aliases file and load the here. | |
[[ -f "$HOME/.aliases" ]] && source "$HOME/.aliases" | |
# Encoding stuff for the terminal | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
export BUNDLER_EDITOR=code | |
export EDITOR=code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment