Naposledy aktivní 1746643923

How I like to configure a new zsh environment.

paul revidoval tento gist 1746643923. Přejít na revizi

1 file changed, 3 insertions, 2 deletions

zsh_setup.md

@@ -1,6 +1,7 @@
1 1 When setting up a new shell environment, I take the following steps to create a space that literally works for me.
2 - The command prompt tells me what machine I'm on, the path I'm in, Git status, whether the last command succeeded
3 - or not, and its elapsed time.
2 + The command prompt tells me what machine I'm on, the path I'm in, Git status, virtual environment status, whether
3 + the last command succeeded or not, and its elapsed time. Plugins tell me whether the command I'm typing is in my
4 + path, and applies color to the command line arguments and man pages.
4 5
5 6 Install the following:
6 7 - Ghostty on Mac, terminator on Linux

paul revidoval tento gist 1746643583. Přejít na revizi

1 file changed, 4 insertions

zsh_setup.md

@@ -1,3 +1,7 @@
1 + When setting up a new shell environment, I take the following steps to create a space that literally works for me.
2 + The command prompt tells me what machine I'm on, the path I'm in, Git status, whether the last command succeeded
3 + or not, and its elapsed time.
4 +
1 5 Install the following:
2 6 - Ghostty on Mac, terminator on Linux
3 7 - zsh

paul revidoval tento gist 1746643235. Přejít na revizi

1 file changed, 24 insertions

zsh_setup.md(vytvořil soubor)

@@ -0,0 +1,24 @@
1 + Install the following:
2 + - Ghostty on Mac, terminator on Linux
3 + - zsh
4 + * brew install zsh
5 + - Oh-my-zsh
6 + * sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)”
7 + - zsh plugins:
8 + - zsh-autosuggestions
9 + * cd ~/.oh-my-zsh/custom/plugins;git clone https://github.com/zsh-users/zsh-autosuggestions.git
10 + - zsh-syntax-highlighting
11 + * cd ~/.oh-my-zsh/custom/plugins;git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
12 + - Powerlevel10k -- See lorenobettini.it/2024/01/oh-my-zsh-and-powerlevel10k-in-macos/
13 + * git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
14 + * In ~/.zshrc, set ZSH_THEME=“powerlevel10k/powerlevel10k”
15 + * source ~/.zshrc to run p10k configuration
16 + - When asked, install the Meslo Nerd Font
17 + - Restart your terminal and run p10k from scratch.
18 +
19 + Configure the following plugins in ~/.zshrc
20 + - git
21 + - colored-man-pages
22 + - virtualenv
23 + - zsh-syntax-highlighting
24 + - zsh-autosuggestions
Novější Starší