public:computer:warp_terminal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
public:computer:warp_terminal [2024/05/21 21:07] alexpublic:computer:warp_terminal [2024/05/21 21:13] (current) alex
Line 2: Line 2:
  
 ===== PS1 Setting ===== ===== PS1 Setting =====
-  - install homebrew (if not ready) +  - install homebrew (if not ready) <code sh> 
-  - set shell environment to use home brew +~  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 
-  - install oh my zsh +</code> 
-  - install powelevel10k font +  - set shell environment to use home brew <code sh> 
-  - set theme to use powerlevel10k +~ (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Volumes/Data/alex/.zprofile 
 +    eval "$(/opt/homebrew/bin/brew shellenv)" 
 +</code> 
 +  - install oh my zsh <code sh> 
 +~ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 
 +</code> 
 +  - install powelevel10k font <code sh> 
 +~ brew install powerlevel10k 
 +</code> 
 +  - set theme to use powerlevel10k <code sh> 
 +~ echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc 
 +~ source ~/.zshrc 
 +</code>
   - apply font   - apply font
-  - config p10k +  - config p10k <code sh> 
-<code bash+~ p10k configure 
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" +</code> 
-(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Volumes/Data/alex/.zprofile+ 
 +<code sh> 
 + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 
 +(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Volumes/Data/alex/.zprofile
     eval "$(/opt/homebrew/bin/brew shellenv)"     eval "$(/opt/homebrew/bin/brew shellenv)"
-sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 
-brew install powerlevel10k +brew install powerlevel10k 
-echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc +echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc 
-source ~/.zshrc +source ~/.zshrc 
-p10k configure+p10k configure
 </code> </code>
  
 ===== References ===== ===== References =====
   * [[https://github.com/romkatv/powerlevel10k|omkatv/powerlevel10k @github.com]]   * [[https://github.com/romkatv/powerlevel10k|omkatv/powerlevel10k @github.com]]
  • public/computer/warp_terminal.txt
  • Last modified: 2024/05/21 21:13
  • by alex