What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-08-28 00:27:01
zsh syntax highlighting plugin
In your ~/.zshrc Simply clone this repository and source the script: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zsh... Add solution -
Shell/Bash 2021-08-26 16:50:02
nvm
## Ubuntu curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash ## Set in your .bashrc or .zshrc export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XD... Add solution -
-
Shell/Bash 2021-08-26 10:51:01
zsh default editor
# Examples are for vim, but you can change the path # to whatever you want # e.g: /usr/bin/code for visual studio code # In bash: echo "export EDITOR=/usr/bin/vim" >> ~/.bashrc echo "export VISUAL=/usr/bin/vim" >> ~/.bash... Add solution -
-
Shell/Bash 2021-08-25 14:40:16
install ruby and rails on mac
brew install rbenv ruby-build # Add rbenv to bash so that it loads every time you open a terminal echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc source ~/.zshrc # Install Ruby rbenv install 2.6.6 rbenv ... Add solution