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
1
vote
1 answer

Get Oh-My-ZSH history behaviour in Prezto

In Oh My Zsh, by default, the history feature matches prefixes. Typing ls and hitting Up Arrow will scroll through commands that start with what you typed: matching ls and ls -l but not echo ls. In Prezto, by default, the history feature matches…
Ivy
  • 3,393
  • 11
  • 33
  • 46
1
vote
1 answer

Customizing completion in Prezto ZSH for git function

I recently switched from bash to zsh and am using Prezto for basic setup. For a long time I've used this function: function g() { if [[ $# > 0 ]]; then git $@ else git status fi } This allows me to use g for git status or g
Aaron Wortham
  • 175
  • 1
  • 1
  • 10
1
vote
1 answer

How to know which ZSH configuration framework is installed?

I'm trying to automate installing a ZSH plugin depending on which configuration framework the user is running (For example - prezto or oh-my-zsh) since the install location of the plugin changes with the change in config framework. For example, for…
Rohan Lekhwani
  • 470
  • 4
  • 14
1
vote
0 answers

Adding text to inside of parenthesis deletes everything after closing parenthesis

When using zsh to write a for loop, if I attempt to add text inside parenthesis (command substitution) after I've finished writing the loop, zsh deletes everything after the last parenthesis. A bit hard to explain, so I've created a screen recording…
asmth00
  • 11
  • 1
1
vote
1 answer

How to make a commit to the nested repository?

I've cloned the skwp/dotfiles to use as my own dotfiles. Time to time I have been making commits to my dotfiles for the improvement purposes. Mostly these commits were made to main part of repository. Now I need to make commit to ~/.zshrc file. This…
megas
  • 21,401
  • 12
  • 79
  • 130
1
vote
0 answers

zsh clears previous line of prompt

I have a multi-line prompt in zsh. I've found that sometimes when I CTRL-C out of an autocompletion the previous line of the prompt gets erased unexpectedly. Here's a gif showing this happening with ls, vim and fzf: http://imgur.com/1jTrrzA Here's…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
1
vote
1 answer

Where are these $PATHs coming from?

If it matters my setup is Zshell with Prezto on OSX. I have a Heroku path which I don't need. Years ago I remember going through a Heroku tutorial. I am unsure where it is specified. I'd also like to know if those rvm paths should be at the top.…
JAstuccio
  • 1,502
  • 2
  • 18
  • 20
1
vote
2 answers

prezto prompt shows ~RVM_PROJECT_PATH instead of current working directory

I installed prezto following this guide: http://codurance.com/2015/03/16/installing-zprezto-a-quick-guide/ If I start in a regular folder that's not in git, I see the current working directory as expected in the prompt. ~/Documents/projects/ As…
Willam Hill
  • 1,572
  • 1
  • 17
  • 28
1
vote
1 answer

Move zsh + prezto configuration to dropbox

Many people like to move their bash profiles to a Dropbox folder so that they can have multiple machines with their same profile (usually, for those who have a custom and specific profile that they love). I would like to do the same thing with my…
Cole Bittel
  • 2,646
  • 5
  • 18
  • 31
1
vote
0 answers

ZSH on OSX: cd ~ and ~/ Tab completion issue

Currently using ZSH with prezto on OSX (10.10.3) and I am having issues with the tab completion. I have always been able to hit the tab key after typing either: $ cd ~ $ cd ~/ and I would get a directory menu with the contents of my users home…
YuujM
  • 23
  • 4
1
vote
1 answer

how can I get prezto to open github using my default browser?

I'm trying to run the command git-hub-browse but I keep getting the error browser not set or set to a non-existent browser. When I check my default browser: sudo update-alternatives --config x-www-browser I see: Selection Path …
user2725514
1
vote
1 answer

zsh: no such file or directory

I'm trying to install a Theme for Prezto on my OSX Yosemite and following given instructions. When I run this command mentioned as third step # Install the prompt curl https://raw.github.com/davidjrice/prezto_powerline/master/prompt_powerline_setup…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
1
vote
0 answers

Cursor does not move when using arrows on gnome terminal prompt

I am on Ubuntu-Gnome 14.04 with zsh / prezto. When moving the left / right arrow keys on terminal prompt text line, the cursor doe snot follow the movement. it does finally go to the location after you stop pressing arrow keys. Is there some time…
jethar
  • 2,223
  • 2
  • 22
  • 19
0
votes
1 answer

Adding an autocompletion script to ZSH seems not to be working

I have a Git repository, omni. omni is checked out at ~/omni. There is a completion script at ~/omni/completions/_omni. I set fpath=( ~/omni/completions $fpath ), via ~/.zprofile so the completion script should get picked up but is not. This is…
Zach Riggle
  • 2,975
  • 19
  • 26
0
votes
1 answer

How to cancel a completion in zsh prezto in vi insert mode?

In zsh, with emacs key mapping mode, Control + _ will cancel a completion. Example: echo $EDITOR[tab] will be completed as: echo vim Pressing Control + _ will restore the editor to: echo $EDITOR I want to do the same thing with vi key mapping…
matt
  • 384
  • 2
  • 11