Skip to content

Commit

Permalink
[Update] oh-my-zsh の記述を削除し、
Browse files Browse the repository at this point in the history
`Sheldon` / `Starship` について追記
  • Loading branch information
Ningensei848 authored May 1, 2024
1 parent 8134066 commit 38d0cf0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions content/blogs/2024/04/29.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- "2024GW"
- "dev"
- "dotfiles"
- "zsh"
# draft: true # if true, the article is `WIP` and therefore should not be published yet
# Allows to customize the blog post url (/<routeBasePath>/<slug>)
# slug: '' # default is current file path
Expand Down Expand Up @@ -36,7 +37,7 @@ image: "https://custom-og-image-generator.vercel.app/api/%60.dotfiles%60%20%E3%8
という経緯もあり、早々に諦めてWSL2(Ubuntu)に手を出すこととする。
もちろんまっさらはじめから、ということで、作業記録を残しつつ「どうすればPCの式年遷宮を乗り越えていくか」という視点で考えたい。

![The numbat is a testament that those from humble beginnings can make their mark on the world.](https://res.cloudinary.com/canonical/image/fetch/f_auto,q_auto,fl_sanitize,c_fill,w_720/https://assets.ubuntu.com/v1/c5414d0e-Numbat.png)
<p align="center"><img src="https://res.cloudinary.com/canonical/image/fetch/f_auto,q_auto,fl_sanitize,c_fill,w_720/https://assets.ubuntu.com/v1/c5414d0e-Numbat.png" alt="The numbat is a testament that those from humble beginnings can make their mark on the world." width="35%" /></ p>

<!-- truncate -->

Expand All @@ -61,7 +62,7 @@ Windows Terminal も使えて楽し~~という気分はさておき、WSL2 (

[^2]: cf. https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH

<p align="center"><img src="https://ohmyzsh.s3.amazonaws.com/omz-ansi-github.png" alt="Oh My Zsh" width="50%" /></ p>
<p align="center"><img src="https://raw.githubusercontent.com/Zsh-art/logo/17617f2f6c70c65943a48745c91d997e7561f19d/svg/color_horizontal_icon.svg" alt="Zsh is a shell designed for interactive use, although it is also a powerful scripting language." width="50%" /></ p>

Ubuntu の場合、 `apt` ないし `apt-get` でどうにかするのがいいようだ。
前者はインタラクティヴ、後者はスクリプト向けということで、ワンライナーで書くと以下の通り:
Expand All @@ -79,6 +80,16 @@ echo $SHELL && $SHELL --version

---

#### 追記: 2024-05-01

[後日に再検討した](content/blogs/2024/05/01.md)ところ、「いまから新しく始める」のなら [`sheldon`](https://github.com/rossmacarthur/sheldon) がよいという結論に至った。
見た目の方は [Starship](https://starship.rs/) で調整する。
いずれも Rust 製であり、速度や信頼も申し分ないしサイコーな予感が溢れている。
GW 中にこれらのカスタマイズができると嬉しいが……?

<details>
<summary>当時は若く、`oh-my-zsh` しか知りませんでした(ぇ</summary>

zsh をカスタマイズしやすくするフレームワークとして _Oh my Zsh_ がある。
これもついでに入れてみる。

Expand All @@ -90,6 +101,8 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
これをいい感じにカスタマイズしていくのだが、今は取り敢えず放置。
一旦区切りにして次へ行こう。

</details>

### `rye`

<p align="center"><img src="https://rye-up.com/static/logo-auto.svg" alt="Rye: a Hassle-Free Python Experience" width="40%" /></ p>
Expand Down

0 comments on commit 38d0cf0

Please sign in to comment.