Matthew Crenshaw
ecc34e0051
Move virtualenv auto-switch cwd hook optional loader out from inside unrelated if statement ( #1338 )
8 years ago
Nargoth
1c041c0433
fixed vivisual key binding ( #1148 )
...
Fixes #1236
8 years ago
Ihab Soliman
a75c63768c
Add git aliases for signing commits ( #1126 )
8 years ago
Kaleb Elwert
a0541ce7a5
Default sorin theme to /tmp when TMPDIR is not set
...
Fixes #1331
8 years ago
Alexander Neumann
2f20a80f72
sorin theme: Use a proper temp file for async data
8 years ago
Luis Fernando Milano Oliveira
14670f40f0
replace the deprecated abs call in the pacu alias.
8 years ago
Kaleb Elwert
7ae7a0266c
Update python docs to include info on virtualenv auto-switching
8 years ago
Matthew Crenshaw
08e39a587f
Python virtualenv auto workon cwd hook ( #1300 )
...
* Command to activate virtualenvs on changing directory
Enables automatic activation of a virtualenv when jumping into a directory
This is done by looking in the current directory for a file or directory
named `.venv`. If it's not found in the current directory its parents will
also be examined. `.venv` can be either:
1. A file containing the name of a virtualenv found in $WORKON_HOME
2. A directory containing bin/activate (meaning that the directory is
assumed to be a virtualenv.)
If $WORKON_HOME is set it is assumed that virtualenvwrapper is installed
and the `workon` command will be issued.
8 years ago
Kaleb Elwert
658fffb3a6
Allow ssh module to run on OSX
8 years ago
Kaleb Elwert
6975b119b6
Change the zstyle config name for #607
8 years ago
Matt Henkel
d02c2951b3
Add the ability to specify tmux session name
8 years ago
Kaleb Elwert
871b15663c
Cache the completion for a quicker startup
...
The original idea was by @samjonester in #1210 . This version aims to avoid
relying on the stat or date programs because they have different flags depending
on the OS and if it uses BSD or GNU coreutils.
8 years ago
Fernando H-T Goldáraz
42d9b78907
broken $path and $PATH if nodenv exists ( #1315 )
...
This change fixes a bug where no command can be found
(e.g. `ls`) due to the $path array being set to two elements,
one of them with all the previous paths separated by spaces.
This makes zsh break $PATH, instead of colons there are
spaces, and nothing works.
The idea is to have the array be set leveraging the word splitting
that we usually are told to avoid by quoting.
8 years ago
Kaleb Elwert
2794f95d3e
Use the lazy-loaded version of virtualenvwrapper if available
...
This shouldn't cause problems for anyone and should improve startup times for
anyone using python with virtualenvwrapper because it will wait for the first
command to load rather than right away.
8 years ago
Kaleb Elwert
46a1ffaf7e
Add gbr and gbR aliases to module readme
8 years ago
Kyle Rich
3d7a8c2870
Add some new git aliases, modify a few more. ( #1301 )
...
* Add some new git aliases, modify a few more.
* Add `gbV` command to show more verbose git branch info.
* Add `gcam` to make it possible to execute `gca; gcm '<your message
here>'` more simply.
* Add `gii` command to temporarily untrack (ignore) a file.
* Add `giI` command to uningore a file.
* Change alias of `gbl` to `gbv`. Personally, I think aliases that
include a switch in the command should include the switch in the alias
if possible. This makes them easier to remember.
* Change alias of `gbL` to `gba`. I think the `-a` switch is more
salient to what this alias does than the `-v`. Furthermore, with this
PR there are already `gbv` and `gbV` aliases, so those are out.
* Change implementation of `gCl` alias to use built-in capabilities of
git, rather than sed.
* Rename gbx and gbX to gbd and gbD respectively
* Mostly revert alias changes
* Add gbr and gbR aliases to gbm and gbM commands
8 years ago
Kaleb Elwert
1050a0a290
Add better support for pyenv virtualenvs
8 years ago
Kyle Rich
723b3812e1
Convert long-pwd to pwd-length
8 years ago
Kyle Rich
7c509a264f
Add zstyle option to show pwd in long format
8 years ago
Indrajit Raychaudhuri
850ad42c96
rsync: Update reference to Bombich's rsync page
...
Seems like Bombich's rsync page moved with the previous link doing 404.
Adjusted to fix this.
8 years ago
Indrajit Raychaudhuri
4f87376b50
Add support for 'pip', 'pip2', 'pip3' completion
...
Since `pip completion --zsh` might be slow, we cache it beforehand.
The implementation is along the lines of 'npm' completion in 'node' module.
8 years ago
Mathieu Chataigner
876f426581
Update ssh module for multi session hosts
...
create ssh_agent_env with current user id in file name to avoid collisions with other users
create ssh_agent_sock with current user id in file name to avoid collisions with other users
8 years ago
Sudarshan Wadkar
f15557159a
New `alias gfa=git fetch --all` for git module
...
Also includes an updated README.md !
8 years ago
Guillaume Subiron
81b41d2367
Add utility alias for pydf
8 years ago
delphinus
cf7d3cffbd
Add perl-info function & plenv subcommand aliases ( #1303 )
...
* Add perl-info function
* Add alias for plenv subcommands
* Load perlbrew if needed
* Load plenv if needed
* Use PERLBREW_ROOT as priority to detect Perlbrew
8 years ago
Matt Hamilton
fb37539f43
archive: add archive function
8 years ago
Khai Do
7242b4ed49
archive: add support for *.jar files ( #1302 )
8 years ago
Patrick Bos
c38c2dd909
Move python-info call in paradox from preexec to precmd
8 years ago
Kaleb Elwert
600b4cc9e6
Add missing alias to utility README
8 years ago
Kaleb Elwert
38f0d2f34e
Rework diff function
...
This removes --unified from the default options to make it possible to pass -y
without worrying about conflicting output formats.
diffu has also been added as an alias to make it easier to get output as a
unified diff.
Fixes #1231
8 years ago
Kaleb Elwert
e606b09c9e
Update is-callable to also check builtins
...
Fixes #1037
8 years ago
François VANTOMME
8a4333103d
Feat (docker): add docker aliases ( #1147 )
...
Thanks to @malikoth and @saoula for their input.
8 years ago
François VANTOMME
bb168c5881
Doc (ruby): add doc on bundle clean alias
8 years ago
François VANTOMME
7c64584629
Add bundle clean alias
8 years ago
Kaleb Elwert
7011031a87
Don't use a deprecated argument as a python example
...
Thanks to @jeffwidman for pointing this out
Closes #1141
8 years ago
Anton Löfgren
5c0e68f75f
completion: Cap max-errors at 7 to avoid hanging ( #953 )
...
7 is pretty arbitrarily chosen, but seems like a reasonable tradeoff, at
least the completion no longer shows symptoms of exponential
time-growth when trying to complete something completely wrong.
This fixes #946 .
8 years ago
Eduard Zintz
1c0f95c08e
Allow syntax highlighting pattern styles ( #1192 )
8 years ago
François Vantomme
fb6f3f7ee9
Feat (aliases): add aliases for git flow
8 years ago
Solitude
95036c908c
Update fasd README with basic installation information
8 years ago
Joel Kuzmarski
9a70a1675c
Remove manb from completion filename
8 years ago
Kaleb Elwert
8655cd543b
Ensure extendedglob is set in promptpwd
8 years ago
Matt Hamilton
60c433d4ce
Move common promptpwd code to external function
8 years ago
Kaleb Elwert
b963484fe7
Only try to run python-info if it exists for the paradox prompt
8 years ago
nstCactus
ee249e50ee
FIXED: syntax error in osx module tab function
8 years ago
John P. Neumann
412af29808
Merge pull request #1272 from sorin-ionescu/issue/1246-ps-context-config
...
Adds additional support for PS prompt context expansion
8 years ago
Griffin Yourick
94708f6b50
Fix path in node module
8 years ago
Griffin Yourick
8dafaae5a4
Use patterns from ruby module for initializing nodenv
8 years ago
Griffin Yourick
e413ef5a97
Add support for iTerm2 v3 in tab function
8 years ago
Zhiming Wang
464a8d20a1
utility module: fix/improve colordiff call in diff
...
The new call is compatible with colordiff v1.0.8 - v.1.0.15 (might be
compatible with even earlier versions, but not tested), while the
original one breaks down under v1.0.14 and v1.0.15. See
https://github.com/daveewart/colordiff/issues/22 .
8 years ago
Kire Ledan
95d19b37c1
Added support for python venv display in paradox prompt
8 years ago
Eduardo San Martin Morote
c0049855c5
Added option to skip git aliases definition
...
Fixes #947
8 years ago
Kaleb Elwert
27c2ccd8b9
Update external prompt modules
8 years ago
Kaleb Elwert
fd0b627a8b
Update zsh-users submodules to latest stable versions
8 years ago
Olaf Conradi
013668f484
Improve and simplify titling functions.
...
Multiplexer titles can be set independent of window and tab titles.
Add auto-title always option to have dynamic titling inside terminal
multiplexers. Setting auto-title to yes continues to ignore dynamic
titling inside terminal multiplexers.
This patch should not alter behavior under Apple terminals.
8 years ago
Justin Filip
ddfc870f9a
Use less destructive git push --force-with-lease.
8 years ago
Wojciech Pietrzak
65b05c0220
Add notice about potential shadowing of the gb command ( #1124 )
8 years ago
Zhiming Wang
12d48dfcf9
Remove extra use of grep in git-hub-shorten-url ( #904 )
8 years ago
Matt Hamilton
fb689449a7
Prefer $(COMMAND) syntax over backticks ( #1012 )
8 years ago
Jamie Rolfs
483447082b
Add nodenv support to Node.js module
...
- Implementation from https://github.com/sorin-ionescu/prezto/pull/1001
- Documentation from https://github.com/sorin-ionescu/prezto/pull/1178
8 years ago
Dario Gjorgjevski
2c1ad5bed1
Avoid unsetting nonexistent variables ( #1075 )
8 years ago
Kyle Rich
4e35f701ca
Add "sa" alias to make it easy to search aliases
8 years ago
Calvin Smith
a7729561e8
Add support for skipping VIRTUALENVWRAPPER init in modules/python ( #598 )
...
* Support skip-virtualenvwrapper-init zstyle in python module to avoid auto-sourcing of virtualenvwrapper.sh
* Don't overwrite the WORKON_HOME env var if the user has already set it
8 years ago
Eduard Zintz
8913bcccd2
Use python3 for http-serve alias if available ( #1193 )
8 years ago
Andreas Grauel
2ba060a426
update brewu method
...
Homebrew decided to not change the behaviour of `brew upgrade` so
`brew upgrade --all` is equivalent to `brew upgrade` without any other
arguments (so the `--all` is a no-op and can be removed).
8 years ago
Plastix
8820b71f37
Update pure prompt to v1.5.2
...
This fixes a security issue with malicious branch names
8 years ago
John P. Neumann
b38ced856a
Adds additional support for PS prompt context expansion
8 years ago
Sorin Ionescu
c8b8397728
[ Fix #532 ] Integrate autosuggestions
9 years ago
Sorin Ionescu
8bd720b0c7
Update pure theme
9 years ago
Sorin Ionescu
38baf39513
Update external syntax-highlighting
9 years ago
Sorin Ionescu
e36eed9c8a
Update external history-substring-search
9 years ago
Sorin Ionescu
64aa907087
Update external completions
9 years ago
Zach Riggle
7227c4f0be
Fix unarchive for .deb which uses xz, and absolute paths
9 years ago
Andrew Schwartzmeyer
2ad1b2f5b1
Load add-zsh-hook in GPG module
...
Fixes this error:
~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook
9 years ago
Ryan S. Brown
a7e4b447b3
Fix typo in yum module README
9 years ago
Ryan Brown
02b3d329ac
Fix typo in dnf module README
9 years ago
Sorin Ionescu
165879d4b3
Update pure theme
9 years ago
Sorin Ionescu
de9ed0610b
Update external syntax-highlighting
9 years ago
Sorin Ionescu
c05fbedd8d
Update external history-substring-search
9 years ago
Sorin Ionescu
e137068cac
Update external completions
9 years ago
Sorin Ionescu
f2a826e963
Add preview function to sorin theme
10 years ago
Sorin Ionescu
bdec6c4e20
Redraw only when called from subprocess
10 years ago
Sorin Ionescu
ef634f38a4
Replace signal TERM with KILL
10 years ago
Sorin Ionescu
b761261b11
Replace signal USR1 with WINCH
10 years ago
Sorin Ionescu
02c5f776fc
[ Fix #892 ] Symlink prompt pure async dependency
10 years ago
Sorin Ionescu
a275db55d6
Fix MacPorts typo
10 years ago
FireWave
b6efdc1ea4
Add DNF module
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
904c94469e
Consolidate brew update and upgrade aliases
10 years ago
Quang-Linh LE
159418835f
Add Linux as as requirement
10 years ago
Sorin Ionescu
f7ea78078f
Update pure theme
10 years ago
Sorin Ionescu
fe64f91f52
Update sorin screenshot
10 years ago
Sorin Ionescu
b46769149b
Remove Emacs indicator
...
The user always knows that he is inside Emacs making the indicator
unnecessary.
10 years ago
Sorin Ionescu
999f0d1a74
Use numerical colors
10 years ago
Sorin Ionescu
f6a2c73423
Remove 'git:' prefix
10 years ago
Sorin Ionescu
a1dea6ae43
Get Git status asynchronously
10 years ago
Sorin Ionescu
cd5067668c
Substitute command when alias is undefined
10 years ago
Scott Stevenson
6a812ed36b
Correct typos in completion module
10 years ago
James Conroy-Finn
ca03fd670a
Skip setting terminal title inside Emacs
10 years ago
Sorin Ionescu
08676a273e
Update pure theme
10 years ago
Sorin Ionescu
20766138cb
Update external history-substring-search
10 years ago
Alex Wolkov
e9f86bf4db
Update the link to iTerm2 and tmux integration
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
c98da90662
Update external history-substring-search
10 years ago
Sorin Ionescu
ac8bc74ef0
Update pure theme
10 years ago
Sorin Ionescu
ccca57f2ac
Update external history-substring-search
10 years ago
Sorin Ionescu
4016f0c7c1
Update external completions
10 years ago
Sorin Ionescu
ee0b02464c
[ Fix #819 ] Check for node as a last resort
10 years ago
Tobias Witt
e144abb285
Fix node-module
...
The change recently introduced for #777 was actually breaking the module
completely, as it was only loaded if neither `node` nor `nvm`
were available.
10 years ago
Sorin Ionescu
b41f485528
Add missing parenthesis
...
The bug was introduced in 933c61b
.
10 years ago
Sorin Ionescu
1292587f95
[ Fix #777 ] Check for nvm or node
10 years ago
Sorin Ionescu
933c61b8f1
[ Fix #776 ] Support GNU top
10 years ago
Sorin Ionescu
88aee30ae8
[ Fix #762 ] Use $LOGNAME instead of $USER
...
$USER is deprecated.
10 years ago
Sorin Ionescu
4411c95a83
Update pure theme
10 years ago
Sorin Ionescu
62d87cae32
Update external completions
10 years ago
Sorin Ionescu
d43bcb9720
Revert "Remove extra git-dir call in git-info and use git_dir variable instead"
...
This reverts commit 3012c0984b
.
10 years ago
Sorin Ionescu
ba351df9fb
[ Fix #748 ] Set grep color for BSD and GNU
10 years ago
Jacob Swartwood
925b94b6e2
Fix Powerline unicode characters
...
Branch & separator characters are updated to display properly.
10 years ago
Ranek Kiil
c171621747
Fix issue with several themes where errors occur
...
if the git module is not loaded.
10 years ago
Mathias Fussenegger
0148ee6a4d
Check for S.gpg-agent to see if gpg-agent is running
...
From GnuPG changelog:
> Removed the GPG_AGENT_INFO related code. GnuPG does now
> always use a fixed socket name in its home directory.
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Grégoire Détrez
fc3f8025ea
Add a preexec hook to set the GPG-Agent TTY
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
9539341e1e
[ Fix #732 ] Replace $GREP_OPTIONS with an alias
10 years ago
nfnty
13d1ed160e
Use $GNUPGHOME if it exists
10 years ago
Harry Terkelsen
2a33581e80
[ Fix #724 ] Unquote variable
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Rys Sommefeldt
3dd4cbc3c0
Fix typo
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
7a92046c86
Create a new tmux session if none exists
10 years ago
Yegor Pomortsev
3012c0984b
Remove extra git-dir call in git-info and use git_dir variable instead
10 years ago
Daniel Kolakowski
00a5639e65
Enable iTerm2 tmux integration
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Ralph von der Heyden
3cb1f7c4c9
Inform how to add SSH identities to Keychain
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Shane O'Grady
90eae2b491
If a default Ruby is set, switch to it
...
Set PATH variables to allow gems such as Bundler to be found and for the
`ruby-info` function to properly work.
A default Ruby must be set in ~/.ruby-version; for more information, see
https://github.com/postmodern/chruby#default-ruby .
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
d349c1cec7
Convert the PeepCode theme to git-info
10 years ago
Sorin Ionescu
a7a4912940
Add paradox theme
10 years ago
Sorin Ionescu
82710c29fc
Fix theme function declaration style
10 years ago
Sorin Ionescu
9f82926f6e
Add pure theme
10 years ago
Sorin Ionescu
61e91b8fb0
Add agnoster theme
10 years ago
Sorin Ionescu
967c91a351
Add powerline theme
10 years ago
Sorin Ionescu
087fce8548
Update sorin theme screenshot
10 years ago
Sorin Ionescu
2ae905a625
Indicate inside Emacs
10 years ago
Sorin Ionescu
19fc31c342
Indicate SSH connections
10 years ago
Kevin Laude
e76df6022d
Add cloud theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
c2d62c3b47
Add ruby-info to smiley theme
10 years ago
Nadav Shatz
03336db523
Add smiley theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
1bc4235a5e
Escape '%' in path
10 years ago
Daniel Møller Kristensen
c078c47c9d
Add damoekri theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
0bede677e6
Add kylewest theme
10 years ago
Sorin Ionescu
ad09f29fd5
Add skwp theme
10 years ago
Paul Gideon Dann
567506f7e7
Update giddie theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
13ed3a1bf7
Add giddie theme
10 years ago
Sorin Ionescu
ab7f697734
[ Fix #713 ] Set prompt theme off in unsupported terminal
10 years ago
Linh M. Tran
d020d34e59
Fix node-info to show right node version
...
Currently, node-info shows nothing if $version is different than 'none'.
10 years ago
Milan Milanov
17a6124b43
Fix git log pretty format argument
10 years ago
Sorin Ionescu
3c47c57c87
[ Fix #698 ] Describe module in README the same as in code
10 years ago
Jeff Widman
ff0cdd3ed7
Fix typo in Perl module readme
10 years ago