Skip to content

Commit

Permalink
vault backup: 2024-05-10 22:52:45
Browse files Browse the repository at this point in the history
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
windsuzu committed May 10, 2024
1 parent 53ca35a commit e9d2474
Show file tree
Hide file tree
Showing 10 changed files with 168 additions and 49 deletions.
48 changes: 24 additions & 24 deletions content/.obsidian/plugins/recent-files-obsidian/data.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
{
"recentFiles": [
{
"basename": "Fish Shell",
"path": "fish-shell/Fish Shell.md"
"basename": "fzf.fish",
"path": "fish-shell/fzf.fish.md"
},
{
"basename": "Dev Environment MOC",
"path": "mocs/Dev Environment MOC.md"
},
{
"basename": "Install Fish Shell",
"path": "fish-shell/Install Fish Shell.md"
"basename": "Fish Shell",
"path": "fish-shell/Fish Shell.md"
},
{
"basename": "z for fish",
"path": "fish-shell/z for fish.md"
},
{
"basename": "index",
"path": "index.md"
},
{
"basename": "nvm.fish",
"path": "fish-shell/nvm.fish.md"
},
{
"basename": "Install Fish Shell",
"path": "fish-shell/Install Fish Shell.md"
},
{
"basename": "fisher",
"path": "fish-shell/fisher.md"
},
{
"basename": "The - definite article",
"path": "english-grammar/The - definite article.md"
},
{
"basename": "CSS MOC",
"path": "mocs/CSS MOC.md"
Expand Down Expand Up @@ -179,26 +199,6 @@
{
"basename": "Ing and infinitive common mistakes",
"path": "english-grammar/Ing and infinitive common mistakes.md"
},
{
"basename": "Articles, nouns, pronouns, and determiners",
"path": "english-grammar/Articles, nouns, pronouns, and determiners.md"
},
{
"basename": "Article, Nouns, Pronouns, Determiners Common Mistakes",
"path": "english-grammar/Article, Nouns, Pronouns, Determiners Common Mistakes.md"
},
{
"basename": "Compound Nouns",
"path": "english-grammar/Compound Nouns.md"
},
{
"basename": "Another vs Other",
"path": "english-grammar/Another vs Other.md"
},
{
"basename": "All and both in mid position",
"path": "english-grammar/All and both in mid position.md"
}
],
"omittedPaths": [],
Expand Down
40 changes: 21 additions & 19 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@
"type": "tabs",
"children": [
{
"id": "076735c26d771707",
"id": "30b03782ad2407bf",
"type": "leaf",
"pinned": true,
"state": {
"type": "markdown",
"state": {
"file": "index.md",
"file": "mocs/Dev Environment MOC.md",
"mode": "source",
"source": false
}
},
"pinned": true
}
},
{
"id": "00a2b598198da8bc",
"id": "101015697127e363",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "fish-shell/Fish Shell.md",
"file": "fish-shell/fzf.fish.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -62,7 +64,7 @@
"state": {
"type": "search",
"state": {
"query": "english list",
"query": "file:the",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
Expand Down Expand Up @@ -115,7 +117,7 @@
"state": {
"type": "localgraph",
"state": {
"file": "fish-shell/Fish Shell.md",
"file": "fish-shell/fzf.fish.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -165,7 +167,7 @@
"state": {
"type": "outline",
"state": {
"file": "fish-shell/Fish Shell.md"
"file": "fish-shell/fzf.fish.md"
}
}
},
Expand Down Expand Up @@ -206,7 +208,7 @@
"state": {
"type": "file-properties",
"state": {
"file": "fish-shell/Fish Shell.md"
"file": "fish-shell/fzf.fish.md"
}
}
},
Expand All @@ -216,7 +218,7 @@
"state": {
"type": "backlink",
"state": {
"file": "fish-shell/Fish Shell.md",
"file": "fish-shell/fzf.fish.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -233,9 +235,9 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "fish-shell/Fish Shell.md",
"file": "fish-shell/fzf.fish.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
"unlinkedCollapsed": false
}
}
}
Expand All @@ -259,12 +261,17 @@
"cmdr:Obsidian Git: Create backup": false
}
},
"active": "00a2b598198da8bc",
"active": "101015697127e363",
"lastOpenFiles": [
"mocs/Dev Environment MOC.md",
"fish-shell/Install Fish Shell.md",
"fish-shell/fzf.fish.md",
"fish-shell/Fish Shell.md",
"fish-shell/z for fish.md",
"index.md",
"fish-shell/nvm.fish.md",
"fish-shell/Install Fish Shell.md",
"fish-shell/fisher.md",
"english-grammar/The - definite article.md",
"mocs/Installation.md",
"mocs/CSS MOC.md",
"mocs/React MOC.md",
Expand All @@ -283,11 +290,6 @@
"english-grammar/Word order Common Mistakes.md",
"english-grammar/Questions.md",
"english-grammar/Indirect questions.md",
"english-grammar/Conjunctions and clauses.md",
"english-grammar/Participle Clauses.md",
"english-grammar/Discourse markers.md",
"english-grammar/Clauses of result.md",
"english-grammar/Clauses of reason.md",
"resume",
"attachments/avatar-jay.jpeg",
"attachments/prepositions-of-place.png",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
## Notes
- 📝 [[Some, Any]]
- 📝 [['s and of]]
- 📝 [[The]]
- 📝 [[The - definite article]]
- 📝 [[Use no article]]
- 📝 [[All and both in mid position]]
- 📝 [[Another vs Other]]
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions content/fish-shell/Fish Shell.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
draft: false
date: 2024-05-09 19:01
date: 2024-05-10 19:19
tags:
- fish-shell
---
Expand All @@ -11,8 +11,7 @@ After [[Install Fish Shell|installing it as your default shell]], you can basica

If you want a better theme for your fish shell, I recommend [starship](https://github.com/starship/starship). After installing starship, you can choose to customize it through [configuration](https://starship.rs/config/) or use pre-built [presets](https://starship.rs/presets/) with a single command.

Don't forget the plugins. We can use [fisher](https://github.com/jorgebucaran/fisher) as plugin manager, and install some useful plugins, such as z, nvm.fish, and fzf.fish.

Don't forget the plugins. We can use [[fisher]] as plugin manager, and install some useful plugins, such as [[z for fish|z]], [[fzf.fish]], and [[nvm.fish]]. It's easy to use plugins in fish shell because the [tab completion](https://fishshell.com/docs/current/tutorial.html#tab-completions) shows available commands for selection, and you don't have to look up the manual all the time.

> [!info] Other useful resources
> - [Introduction — fish-shell documentation (fishshell.com)](https://fishshell.com/docs/current/index.html#)
Expand Down
27 changes: 27 additions & 0 deletions content/fish-shell/fisher.md
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)
13 changes: 13 additions & 0 deletions content/fish-shell/fzf.fish.md
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)
56 changes: 56 additions & 0 deletions content/fish-shell/nvm.fish.md
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)
14 changes: 14 additions & 0 deletions content/fish-shell/z for fish.md
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)
12 changes: 10 additions & 2 deletions content/mocs/Dev Environment MOC.md
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


0 comments on commit e9d2474

Please sign in to comment.