generated from jackyzha0/quartz
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Affected files: content/.obsidian/plugins/recent-files-obsidian/data.json content/.obsidian/workspace.json content/english-grammar/Articles, nouns, pronouns, and determiners.md content/english-grammar/The - definite article.md content/fish-shell/Fish Shell.md content/fish-shell/fisher.md content/fish-shell/fzf.fish.md content/fish-shell/nvm.fish.md content/fish-shell/z for fish.md content/mocs/Dev Environment MOC.md
- Loading branch information
Showing
10 changed files
with
168 additions
and
49 deletions.
There are no files selected for viewing
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
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
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
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
draft: false | ||
date: 2024-05-10 17:19 | ||
tags: | ||
- fish-shell | ||
--- | ||
|
||
Fisher is a plugin manager for the [[fish shell]]. It is capable of installing a wide range of useful plugins. The installation process is described in the [GitHub README](https://github.com/jorgebucaran/fisher#installation). | ||
|
||
Once the Fisher plugin has been installed, the following commands can be used to install, remove, update, and list other plugins. | ||
|
||
```bash | ||
# install | ||
fisher install jorgebucaran/nvm.fish | ||
|
||
# remove | ||
fisher remove jorgebucaran/nvm.fish | ||
|
||
# update | ||
fisher update jorgebucaran/nvm.fish | ||
|
||
# list | ||
fisher list | ||
``` | ||
|
||
> [!info] References | ||
> - [jorgebucaran/fisher: A plugin manager for Fish (github.com)](https://github.com/jorgebucaran/fisher) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
draft: false | ||
date: 2024-05-10 20:20 | ||
tags: | ||
- fish-shell | ||
--- | ||
|
||
|
||
|
||
|
||
> [!info] References | ||
> - [junegunn/fzf: :cherry_blossom: A command-line fuzzy finder (github.com)](https://github.com/junegunn/fzf) | ||
> - [PatrickF1/fzf.fish: 🔍🐟 Fzf plugin for Fish (github.com)](https://github.com/PatrickF1/fzf.fish) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
draft: false | ||
date: 2024-05-10 18:28 | ||
tags: | ||
- fish-shell | ||
--- | ||
|
||
`nvm.fish` is the node version manager for [[fish shell]]. Using `nvm.fish` is almost the same as using [nvm](https://github.com/nvm-sh/nvm). The first thing to do is to install it with [[fisher]]. | ||
|
||
```bash | ||
fisher install jorgebucaran/nvm.fish | ||
``` | ||
|
||
After installing `nvm.fish`, we can list all available node versions by typing `nvm list-remote`. | ||
|
||
```bash | ||
# list avilable node versions | ||
nvm list-remote | ||
``` | ||
|
||
Then you can choose one version and install it by typing `nvm install`. | ||
|
||
```bash | ||
# install the latest (current) version | ||
nvm install latest | ||
|
||
# install LTS (long-term support) version | ||
nvm install lts | ||
|
||
# install specific LTS version | ||
nvm install lts/iron | ||
nvm install iron | ||
|
||
# install a specific version | ||
nvm install v20.10.0 | ||
``` | ||
|
||
By typing `nvm list`, you can see all the versions of Node.js you've installed in your [[fish shell]]. | ||
|
||
```bash | ||
nvm list | ||
# v8.17.0 lts/carbon | ||
# v15.3.0 | ||
# v14.15.1 lts/fermium | ||
# v18.4.0 latest | ||
# ▶ v20.13.1 lts/iron | ||
``` | ||
|
||
Activate any version of Node.js by typing `nvm use`. | ||
|
||
```bash | ||
nvm use v20.13.1 | ||
``` | ||
|
||
> [!info] References | ||
> - [jorgebucaran/nvm.fish: The Node.js version manager you'll adore, crafted just for Fish (github.com)](https://github.com/jorgebucaran/nvm.fish) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
draft: false | ||
date: 2024-05-10 19:08 | ||
tags: | ||
- fish-shell | ||
--- | ||
|
||
`z` will keep track of the directories you visit and store the calculation of each "frecency" (frequency + recency) at `$Z_DATA`. After some learning, typing `z name` will take you to the most appropriate directory whose path most closely matches `name`. | ||
|
||
> [!tip] Use tab completion | ||
> Provided by [[fish shell]], tab completion works seamlessly with `z`. when you press the `tab` key after typing `z ` (z and a space), fish will display available paths that were recently visited. | ||
> [!info] References | ||
> - [jethrokuan/z: Pure-fish z directory jumping (github.com)](https://github.com/jethrokuan/z) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
--- | ||
draft: false | ||
date: 2024-05-09 17:21 | ||
date: 2024-05-10 19:12 | ||
tags: | ||
- dev-environment | ||
--- | ||
|
||
## Shell | ||
- [[Fish Shell]] | ||
- [[Install Fish Shell|Installation]] | ||
- | ||
- Plugins | ||
- [[fisher]] - plugin manager | ||
- [[z for fish]] - jumping around directory | ||
- [[fzf.fish]] - fzf (fuzzy finder) for fish | ||
- [[nvm.fish]] - [nvm](https://github.com/nvm-sh/nvm) (Node Version Manager) for fish | ||
- [done](https://github.com/franciscolourenco/done)- getting notification when process done | ||
- [autopair.fish](https://github.com/jorgebucaran/autopair.fish) - matching pairs `(),{},[],"",''` auto-completion | ||
|
||
|