Questions tagged [prezto]

A 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 repository.

16 questions
14
votes
1 answer

zsh keeps sharing history even when shared history is disabled

I'm using zsh with prezto (on OSX and inside tmux, not sure if it matters), and from time to time history gets shared between multiple terminals. I already added unsetopt share_history and also unsetopt SHARE_HISTORY to the end of my .zpreztorc, but…
amfcosta
  • 315
  • 2
  • 8
7
votes
1 answer

bash: rsync: command not found

I'm on OSX using iTerm (3) with prezto as my zsh configuration framework. I've a strange error message when I use rsync: $ rsync -avz --exclude='.git' src/ remote:/dst bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes…
bachr
  • 423
  • 1
  • 4
  • 10
7
votes
3 answers

What is causing `diff` to run `git diff`?

I'd like to use diff as described here and in the documentation I see when I type man diff. However, when I type diff, what I get is this: ~ ❯❯❯ diff usage: git diff --no-index Similarly when I try to use diff, I get git errors…
Ben Saufley
  • 173
  • 6
6
votes
3 answers

Remove zsh autocomplete suggestion

When I type cd l and hit tab, zsh autocompletes to cd lightdm/ this is not a directory that is available to me (in fact I've uninstalled lightdm). How do I stop this from happening? I have prezto installed. https://github.com/sorin-ionescu/prezto
Bart Snapp
  • 163
  • 1
  • 1
  • 4
6
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
  • 181
  • 1
  • 2
  • 7
2
votes
1 answer

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
  • 181
  • 1
  • 2
  • 7
2
votes
2 answers

Ctrl-Arrow does not work anymore after installing Prezto

I have this in my .inputrc: "\e[A": history-search-backward "\e[B": history-search-forward set show-all-if-ambiguous on set completion-ignore-case on # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\eOc": forward-word "\eOd":…
rubik
  • 837
  • 2
  • 9
  • 21
1
vote
1 answer

evaluate terms in zsh without a command

I am using zsh with the prezto configuration framework. I want to be able to type in terms like 1 + 2 * (3 / 4) and get "2.5" out of it. Those terms could be recognized because they only consist of certain characters: 0123456789 +-*/(). For…
Kaligule
  • 113
  • 3
1
vote
1 answer

How to change the prezto and zsh theme prompt?

I installed yadr and prezto to style the zsh prompt. I'm using the steeef theme: https://github.com/sorin-ionescu/prezto/blob/master/modules/prompt/functions/prompt_steeef_setup How do I change the format of the prompt: from --> taciano at asimov…
1
vote
2 answers

Git tracking dotfiles that are symlinked

I keep my dotfiles in a private git repo on bitbucket and this works great for the majority of my files (.vimrc, .tmux.conf etc) then I just set up symlinks from my home directory to my cloned gitrepo of dotfiles and everything works great. My…
Jordan
  • 243
  • 2
  • 7
1
vote
1 answer

Can I selectively disable zsh completions?

I'm using prezto with zsh, and find it a little slow to launch a new shell. (N.B. I'm attempting to optimise on a fast-ish system, before moving my configuration to other, slower systems.) Benchmarking with time zsh -i -c exit: 0.046: bash. 0.080:…
Sparhawk
  • 19,561
  • 18
  • 86
  • 152
1
vote
0 answers

Is there a better to find out the script location which is part of a zprezto module?

I am writing a custom module to extend the zprezto framework for myself. The goal is to be able to start a tmux with proper configuration by name. Here is the code of the init.zsh of my custom module: SCRIPT=${0:A} export _MYTMUX_SDIR=`dirname…
Anthony Kong
  • 862
  • 2
  • 14
  • 23
0
votes
0 answers

Conditional zstyle format (color) for git branch name in zsh prompt (using prezto)

I am switching to zsh from bash and one thing that I'm used to is having the git branch name in my prompt coloured to reflect whether the branch is clean or not. So if my branch is main and it's clean, main appears in green, otherwise main appears…
dpwr
  • 109
  • 2
0
votes
0 answers

Stderr sometimes gets redirected to /dev/null

Sometimes when i am working in a shell i suddenly find out that standard error has been linked to /dev/null. If i open a new shell it is back to normal. I am using zsh with oh-my-zsh and prezto. I have looked over the rc files but i cannot find any…
xvy.
  • 1
0
votes
1 answer

Tmux always shows hostname instead of application running

A weird thing is happening. I have been trying to debug it for 2 days with no luck. Nothing relevant around forums as well. I have just set up my wife's machine because I need to work remotely. I have transferred all my set up from my own desktop…
George B.
  • 101
  • 1
1
2