ubuntu: obey linting rules
This commit is contained in:
parent
3c38a5f3de
commit
22a5bf1c9c
|
@ -57,34 +57,43 @@ Put config file <https://gist.github.com/madacol/19f8c71ba98f484a4294ccfe90e88e6
|
||||||
Install bass, then configure these functions
|
Install bass, then configure these functions
|
||||||
|
|
||||||
- **__nvm_load.fish**
|
- **__nvm_load.fish**
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
function __nvm_load
|
function __nvm_load
|
||||||
functions -e __nvm_load node npm npx
|
functions -e __nvm_load node npm npx
|
||||||
bass source ~/.nvm/nvm.sh --no-use ';' nvm use 2> /dev/null '||' nvm use default
|
bass source ~/.nvm/nvm.sh --no-use ';' nvm use 2> /dev/null '||' nvm use default
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
- **nvm.fish**
|
- **nvm.fish**
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
function nvm
|
function nvm
|
||||||
functions -e __nvm_load node npm npx
|
functions -e __nvm_load node npm npx
|
||||||
bass source ~/.nvm/nvm.sh --no-use ';' source ~/.nvm/bash_completion ';' nvm $argv
|
bass source ~/.nvm/nvm.sh --no-use ';' source ~/.nvm/bash_completion ';' nvm $argv
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
- **npx.fish**
|
- **npx.fish**
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
function npx
|
function npx
|
||||||
__nvm_load
|
__nvm_load
|
||||||
npx $argv
|
npx $argv
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
- **npm.fish**
|
- **npm.fish**
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
function npm
|
function npm
|
||||||
__nvm_load
|
__nvm_load
|
||||||
npm $argv
|
npm $argv
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
- **node.fish**
|
- **node.fish**
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
function node
|
function node
|
||||||
__nvm_load
|
__nvm_load
|
||||||
|
@ -92,7 +101,6 @@ Install bass, then configure these functions
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Zsh - Edit ~/.zshrc
|
### Zsh - Edit ~/.zshrc
|
||||||
|
|
||||||
#### Add `~/.local/bin` to PATH
|
#### Add `~/.local/bin` to PATH
|
||||||
|
@ -145,6 +153,7 @@ export PAGER=most
|
||||||
```bash
|
```bash
|
||||||
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
|
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** Probably need to install them first
|
**Note:** Probably need to install them first
|
||||||
|
|
||||||
## Gnome extensions
|
## Gnome extensions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user