- System-settings -> input-devices -> Keyboard -> Keyboard-Model: Apple macbook pro (intl) -> apply
Taken from here
create the file~/.Xmodmap` with the following content:
keycode 49 = less greater less greater bar brokenbar bar
Taken from here
create the file ~/.Xmodmap` with the following content:keycode 49 = less greater less greater bar brokenbar bar
| # enable colors and prompt substitution (so the git_prompt_info function can be used) | |
| autoload -U colors && colors | |
| setopt PROMPT_SUBST | |
| # enable bash-style completions | |
| autoload -Uz compinit | |
| compinit | |
| autoload -U +X bashcompinit && bashcompinit | |
| # define some aliases |
| { | |
| "workbench.statusBar.visible": true, | |
| "files.insertFinalNewline": true, | |
| "editor.scrollBeyondLastLine": false, | |
| "editor.emptySelectionClipboard": false, | |
| "editor.tabSize": 2, | |
| "eslint.autoFixOnSave": true, | |
| "tslint.autoFixOnSave": true, | |
| "vsicons.projectDetection.autoReload": true, | |
| "editor.rulers": [80, 120], |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/home/heiko/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| ZSH_THEME="robbyrussell" |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
nvm from the plugins of your ~/.zshrcSetting a prefix changes the installation directory for global packages and is not supported by nvm.
if npm config get prefix is either not set, or a subpath of echo $NVM_DIR, then you're good to go. Otherwise run npm config delete prefix to unset your prefix.