Questions tagged [prezto]

Prezto is the configuration framework for Zsh; it enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes.

The configuration framework for Zsh

Prezto is the configuration framework for Zsh; it enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes.

Github repo

43 questions
14
votes
6 answers

Installing powerline fonts for zsh + Prezto theme

I am currently using Zsh + Prezto for my scripting shell configuration. I have been using the sorin theme but am a little dissatisfied with it. I'd like to switch to the paradox theme! It is supposed to look like this: I'm having some trouble…
Cole Bittel
  • 2,646
  • 5
  • 18
  • 31
13
votes
3 answers

How to get rid of `grep: warning: GREP_OPTIONS is deprecated; please use an alias or script`?

I have zsh + zprezto installed on my Arch linux. Every time I open the console the annoying warning is being displayed: grep: warning: GREP_OPTIONS is deprecated; please use an alias or script Following the instructions in [SOLVED] grep: warning:…
Sergey Alekseev
  • 11,910
  • 11
  • 38
  • 53
11
votes
4 answers

Changing directory color with zsh + Prezto

I am using Prezto + zsh as my shell. I would like to change the color of directories when I ls my directory. For instance, here is what I currently have: Obviously, this is no fun, as I’m hardly able to read my directories because the blue is so…
Cole Bittel
  • 2,646
  • 5
  • 18
  • 31
5
votes
1 answer

JetBrains IDE embedded terminal cursor disappears while using arrow keys (<- and ->)

I'm using zsh/prezto with syntax-highlighting plugin. When I use the arrow keys to navigate within the terminal command, the cursor disappears in the embedded terminal and blinks/flashes every ~second. Here is an example (gif): It does not happen…
wiesson
  • 6,544
  • 5
  • 40
  • 68
5
votes
1 answer

ZSH and ZLE, move to the beginning-of-line, write string, move to the end

Its not essential but it bugs me a bit, here is the fragment from my .zshrc a function/widget called add_sudo, that will go at the beginning of line, writes sudo there and then should go at the end of the line. Its bind to ctrl+f But it does not go…
DoTheEvo
  • 874
  • 1
  • 9
  • 21
4
votes
2 answers

Prezto theme not loading

I have the following line in my .zpreztorc file: zstyle ':prezto:module:prompt' theme 'paradox' And when I type prompt -c in my terminal it returns: Current prompt theme is: paradox But the theme itself is not loaded. Only after I type run…
huijing
  • 398
  • 2
  • 15
4
votes
1 answer

Why do I have to alias bower when I use zsh with oh-my-zsh

On bower.io there is a warning that says: Warning On prezto or oh-my-zsh, do not forget to alias bower='noglob bower' or bower install jquery#1.9.1 I didn't see this before and I'm already working in a project where I have to use bower install,…
raulricardo21
  • 2,499
  • 4
  • 20
  • 27
3
votes
1 answer

how do I make x11/xQuartz stop opening up

the past week or so, I've been having an issue where whenever I open iterm (and sometimes when I just open vim) xquartz/x11 will open. I have version 7.4.1941 of vim. How do I make it stop opening xquartz?
user2725514
3
votes
1 answer

zsh having right prompt on same level as left using prezto

I'm new to zsh and also prezto. Now as in my bash shell I want to have the current path on the left and my current branch at the right as you can see in the picture so far so good..... ... Now the problem is the right part of the prompt is in the…
lony
  • 6,733
  • 11
  • 60
  • 92
3
votes
2 answers

What does `(.N)` do in this extended glob?

The Prezto documentation has the following example script for setting up symlinks: setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done I understand…
knpwrs
  • 15,691
  • 12
  • 62
  • 103
3
votes
1 answer

Trouble installing prezto

I was a oh-my-zsh user but decided to switch to prezto. I followed the steps on their github page: https://github.com/sorin-ionescu/prezto Uninstalled oh-my-zsh, git cloned prezto. Not sure whether I understand step 3 clearly but now I do have…
clwen
  • 20,004
  • 31
  • 77
  • 94
2
votes
1 answer

zsh using prezto startup prompt extremely slow

I'm using zsh with prezto. The startup prompt is extremely slow. I use iTerm2 on Mac. Here is my ~/.zshrc # # Executes commands at the start of an interactive session. # # Authors: # Sorin Ionescu # # Source Prezto. if…
tsaebeht
  • 1,570
  • 5
  • 18
  • 32
2
votes
1 answer

How to italicise text in zsh prompt?

I'm struggling to understand how to italicise a section of my zsh prompt (using prezto). My prompt currently looks like this: PROMPT='%F{yellow}%T %F{magenta}${SSH_TTY:+%n@%m }%F{cyan}%1~%f${vcs_info}\ 55 %(!.%B%F{red}#%f%b.%B…
tanc
  • 281
  • 3
  • 11
2
votes
2 answers

Syntax highlighting in zsh using 256 colors?

I'm using prezto with zsh, and my difficulty is with the syntax highlighting, of which a sample line is 'function' 'bg=green' I could also have here, for example 'function' 'bg=blue,fg=yellow' However, I want to take advantage of my 256 color…
Alasdair
  • 1,300
  • 4
  • 16
  • 28
2
votes
0 answers

How to make zsh autocorrect ` to ~?

I regularly mistype ~/Desktop/files as `/Desktop/files. Is there a way for zsh to help me autocorrect this? I am using the prezto zsh installation. Thanks.
hwong557
  • 1,309
  • 1
  • 10
  • 15
1
2 3