본문 바로가기
★━Mac〃

[MacOS] Fish Shell에 oh-my-shell 넣기

by Raynee 2022. 12. 12.
반응형

brew를 이용하여 fish shell 설치

 

raynee:~ $ brew search fish
==> Formulae
chruby-fish        fish               fisher             glassfish          gofish             jellyfish          libfishsound       stockfish          fizsh              fsh

==> Casks
bluefish                                                        feishu                                                          fishing-funds
raynee:~ $ brew install fish

Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
aribb24              clusterawsadm        erigon               grantlee             kubefirst            metals               sapling              spectral-cli         zf
brpc                 cocogitto            gf                   hermit               libisofs             naga-cli             seven-kingdoms       sql-language-server
busted               code-cli             ghc@9.2              ibazel               licensed             oauth2c              snakefmt             standard
clitest              dotnet@6             gobackup             jscpd                luacheck             php@8.1              souffle              stylelint
==> New Casks
agi                             cursr                           elephas                         farcaster                       overt                           vincelwt-chatgpt

You have 1 outdated cask installed.
You can upgrade it with brew upgrade
or list it with brew outdated.

==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/manifests/6.3
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/blobs/sha256:b23144507b0e799235e12b2f6dfb1a595c18384ef773c680a05eb785724d9dc5
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b23144507b0e799235e12b2f6dfb1a595c18384ef773c680a05eb785724d9dc5?se=2022-12-12T02%3A55%3A00Z&sig=G59BppStK
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.40
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:3d2707e8d5a80e1a28875e3b9c7b47cebaf5fd420049d6f1a72fa933b0e68339
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:3d2707e8d5a80e1a28875e3b9c7b47cebaf5fd420049d6f1a72fa933b0e68339?se=2022-12-12T02%3A55%3A00Z&sig=eRnzfLsUM
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fish/manifests/3.5.1-1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fish/blobs/sha256:0586d93e70fdf0fdc28f9043f95fb64034fb1b2bca6d02a4dbc8e18b0c057057
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:0586d93e70fdf0fdc28f9043f95fb64034fb1b2bca6d02a4dbc8e18b0c057057?se=2022-12-12T02%3A55%3A00Z&sig=Kicz1slwT
######################################################################## 100.0%
==> Installing dependencies for fish: ncurses and pcre2
==> Installing fish dependency: ncurses
==> Pouring ncurses--6.3.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/ncurses/6.3: 3,968 files, 9.3MB
==> Installing fish dependency: pcre2
==> Pouring pcre2--10.40.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/pcre2/10.40: 230 files, 6.4MB
==> Installing fish
==> Pouring fish--3.5.1.monterey.bottle.1.tar.gz
🍺  /usr/local/Cellar/fish/3.5.1: 1,423 files, 15.3MB
==> Running `brew cleanup fish`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

 

 

oh-my-shell 설치 파일 받기

raynee:~ $ curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install > install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19086  100 19086    0     0  31572      0 --:--:-- --:--:-- --:--:-- 31969

 

fish shell 에 oh-my-shell config 넣기 

raynee:~ $ fish install --path=~/.local/share/omf --config=~/.config/omf
Checking for a sane environment...
Installing Oh My Fish to /Users/raynee/.local/share/omf...
Using release channel "stable".
Cloning master from https://github.com/oh-my-fish/oh-my-fish.git...
Writing bootstrap to /Users/raynee/.config/fish/conf.d/omf.fish...
Setting up Oh My Fish configuration...
Updating https://github.com/oh-my-fish/packages-main master... Done!
Installing package default
✔ default successfully installed.
Installation successful!
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
⋊> ~

 

 

반응형

댓글