Questions tagged [prezto]
A configuration framework for Zsh
16
questions
1
vote
1
answer
301
views
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 ...
0
votes
0
answers
540
views
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,...
1
vote
1
answer
2k
views
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 ...
0
votes
0
answers
30
views
Stderr sometimes gets redirected to /dev/null [duplicate]
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 ...
0
votes
1
answer
460
views
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 ...
6
votes
3
answers
14k
views
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 ...
0
votes
1
answer
64
views
mv command automatically running sometimes when opening a new prompt, throws error about renaming a `z` file
I'm using Prezto for zsh, and sometimes when I open a new prompt this command automatically runs:
mv: rename /Users/myusername/.z.19504 to /Users/myusername/.z: No such file or directory
I do have ...
9
votes
1
answer
16k
views
bash: rsync: command not found [closed]
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
...
1
vote
2
answers
699
views
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 ...
17
votes
1
answer
8k
views
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 ...
1
vote
1
answer
1k
views
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.)
...
7
votes
3
answers
1k
views
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 <path> <path&...
2
votes
1
answer
4k
views
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 ...
6
votes
4
answers
15k
views
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 ...
1
vote
0
answers
55
views
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:
...