1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 06:31:12 +00:00
Commit Graph

821 Commits

Author SHA1 Message Date
Patrick Bos
c38c2dd909 Move python-info call in paradox from preexec to precmd 2017-04-15 16:44:05 -07:00
Kaleb Elwert
600b4cc9e6 Add missing alias to utility README 2017-04-15 14:16:15 -07:00
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
2017-04-15 14:06:07 -07:00
Kaleb Elwert
e606b09c9e Update is-callable to also check builtins
Fixes #1037
2017-04-13 04:05:20 -07:00
François VANTOMME
8a4333103d Feat (docker): add docker aliases (#1147)
Thanks to @malikoth and @saoula for their input.
2017-04-13 03:18:54 -07:00
François VANTOMME
bb168c5881 Doc (ruby): add doc on bundle clean alias 2017-04-13 03:04:21 -07:00
François VANTOMME
7c64584629 Add bundle clean alias 2017-04-13 03:04:21 -07:00
Kaleb Elwert
7011031a87 Don't use a deprecated argument as a python example
Thanks to @jeffwidman for pointing this out

Closes #1141
2017-04-13 03:02:07 -07:00
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.
2017-04-13 02:47:51 -07:00
Eduard Zintz
1c0f95c08e Allow syntax highlighting pattern styles (#1192) 2017-04-13 02:25:45 -07:00
François Vantomme
fb6f3f7ee9 Feat (aliases): add aliases for git flow 2017-04-13 02:23:05 -07:00
Solitude
95036c908c Update fasd README with basic installation information 2017-04-13 01:55:02 -07:00
Joel Kuzmarski
9a70a1675c Remove manb from completion filename 2017-04-13 01:51:15 -07:00
Kaleb Elwert
8655cd543b Ensure extendedglob is set in promptpwd 2017-04-13 01:16:44 -07:00
Matt Hamilton
60c433d4ce Move common promptpwd code to external function 2017-04-13 01:15:01 -07:00
Kaleb Elwert
b963484fe7 Only try to run python-info if it exists for the paradox prompt 2017-04-11 15:12:09 -07:00
nstCactus
ee249e50ee FIXED: syntax error in osx module tab function 2017-04-11 10:23:21 -07:00
John P. Neumann
412af29808 Merge pull request #1272 from sorin-ionescu/issue/1246-ps-context-config
Adds additional support for PS prompt context expansion
2017-04-11 00:14:08 -05:00
Griffin Yourick
94708f6b50 Fix path in node module 2017-04-10 11:43:17 -07:00
Griffin Yourick
8dafaae5a4 Use patterns from ruby module for initializing nodenv 2017-04-10 11:36:56 -07:00
Griffin Yourick
e413ef5a97 Add support for iTerm2 v3 in tab function 2017-04-10 11:30:27 -07:00
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.
2017-04-05 00:23:37 -07:00
Kire Ledan
95d19b37c1 Added support for python venv display in paradox prompt 2017-04-04 23:52:12 -07:00
Eduardo San Martin Morote
c0049855c5 Added option to skip git aliases definition
Fixes #947
2017-04-04 23:43:46 -07:00
Kaleb Elwert
27c2ccd8b9 Update external prompt modules 2017-04-04 23:00:28 -07:00
Kaleb Elwert
fd0b627a8b Update zsh-users submodules to latest stable versions 2017-04-04 23:00:28 -07:00
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.
2017-04-04 22:27:13 -07:00
Justin Filip
ddfc870f9a Use less destructive git push --force-with-lease. 2017-04-04 22:06:57 -07:00
Wojciech Pietrzak
65b05c0220 Add notice about potential shadowing of the gb command (#1124) 2017-04-04 22:03:47 -07:00
Zhiming Wang
12d48dfcf9 Remove extra use of grep in git-hub-shorten-url (#904) 2017-04-04 21:36:28 -07:00
Matt Hamilton
fb689449a7 Prefer $(COMMAND) syntax over backticks (#1012) 2017-04-04 21:30:48 -07:00
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
2017-04-04 21:26:33 -07:00
Dario Gjorgjevski
2c1ad5bed1 Avoid unsetting nonexistent variables (#1075) 2017-04-04 21:24:50 -07:00
Kyle Rich
4e35f701ca Add "sa" alias to make it easy to search aliases 2017-04-04 21:11:36 -07:00
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
2017-04-03 23:06:02 -07:00
Eduard Zintz
8913bcccd2 Use python3 for http-serve alias if available (#1193) 2017-04-03 13:27:06 -07:00
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).
2017-04-03 13:12:15 -07:00
Plastix
8820b71f37 Update pure prompt to v1.5.2
This fixes a security issue with malicious branch names
2017-04-03 11:42:05 -07:00
John P. Neumann
b38ced856a Adds additional support for PS prompt context expansion 2017-04-02 14:09:58 -05:00
Sorin Ionescu
c8b8397728 [Fix #532] Integrate autosuggestions 2016-03-02 16:31:33 -05:00
Sorin Ionescu
8bd720b0c7 Update pure theme 2016-02-28 22:32:40 -05:00
Sorin Ionescu
38baf39513 Update external syntax-highlighting 2016-02-28 22:32:12 -05:00
Sorin Ionescu
e36eed9c8a Update external history-substring-search 2016-02-28 22:31:46 -05:00
Sorin Ionescu
64aa907087 Update external completions 2016-02-28 22:31:21 -05:00
Zach Riggle
7227c4f0be Fix unarchive for .deb which uses xz, and absolute paths 2015-11-12 12:01:37 -05:00
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
2015-11-12 11:49:41 -05:00
Ryan S. Brown
a7e4b447b3 Fix typo in yum module README 2015-11-11 22:58:22 -05:00
Ryan Brown
02b3d329ac Fix typo in dnf module README 2015-11-11 22:58:22 -05:00
Sorin Ionescu
165879d4b3 Update pure theme 2015-11-09 02:09:48 -05:00
Sorin Ionescu
de9ed0610b Update external syntax-highlighting 2015-11-09 02:09:30 -05:00
Sorin Ionescu
c05fbedd8d Update external history-substring-search 2015-11-09 02:08:59 -05:00
Sorin Ionescu
e137068cac Update external completions 2015-11-09 02:08:40 -05:00
Sorin Ionescu
f2a826e963 Add preview function to sorin theme 2015-05-31 16:51:29 -04:00
Sorin Ionescu
bdec6c4e20 Redraw only when called from subprocess 2015-05-31 16:50:03 -04:00
Sorin Ionescu
ef634f38a4 Replace signal TERM with KILL 2015-05-31 16:47:16 -04:00
Sorin Ionescu
b761261b11 Replace signal USR1 with WINCH 2015-05-31 16:46:42 -04:00
Sorin Ionescu
02c5f776fc [Fix #892] Symlink prompt pure async dependency 2015-05-28 20:24:58 -04:00
Sorin Ionescu
a275db55d6 Fix MacPorts typo 2015-05-26 22:12:55 -04:00
FireWave
b6efdc1ea4 Add DNF module
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2015-05-26 22:12:55 -04:00
Sorin Ionescu
904c94469e Consolidate brew update and upgrade aliases 2015-05-26 22:12:55 -04:00
Quang-Linh LE
159418835f Add Linux as as requirement 2015-05-25 22:01:57 -04:00
Sorin Ionescu
f7ea78078f Update pure theme 2015-05-25 21:58:43 -04:00
Sorin Ionescu
fe64f91f52 Update sorin screenshot 2015-05-19 18:25:40 -04:00
Sorin Ionescu
b46769149b Remove Emacs indicator
The user always knows that he is inside Emacs making the indicator
unnecessary.
2015-05-19 18:25:40 -04:00
Sorin Ionescu
999f0d1a74 Use numerical colors 2015-05-19 18:25:40 -04:00
Sorin Ionescu
f6a2c73423 Remove 'git:' prefix 2015-05-19 18:25:40 -04:00
Sorin Ionescu
a1dea6ae43 Get Git status asynchronously 2015-05-19 18:25:39 -04:00
Sorin Ionescu
cd5067668c Substitute command when alias is undefined 2015-05-19 18:24:04 -04:00
Scott Stevenson
6a812ed36b Correct typos in completion module 2015-05-19 17:50:40 -04:00
James Conroy-Finn
ca03fd670a Skip setting terminal title inside Emacs 2015-05-19 17:49:46 -04:00
Sorin Ionescu
08676a273e Update pure theme 2015-05-03 13:44:41 -04:00
Sorin Ionescu
20766138cb Update external history-substring-search 2015-05-03 13:44:41 -04:00
Alex Wolkov
e9f86bf4db Update the link to iTerm2 and tmux integration
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2015-05-03 13:44:40 -04:00
Sorin Ionescu
c98da90662 Update external history-substring-search 2015-04-07 19:24:44 -04:00
Sorin Ionescu
ac8bc74ef0 Update pure theme 2015-04-01 16:32:38 -04:00
Sorin Ionescu
ccca57f2ac Update external history-substring-search 2015-04-01 16:32:38 -04:00
Sorin Ionescu
4016f0c7c1 Update external completions 2015-04-01 16:32:37 -04:00
Sorin Ionescu
ee0b02464c [Fix #819] Check for node as a last resort 2015-02-24 15:29:25 -05:00
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.
2015-02-23 12:11:21 -05:00
Sorin Ionescu
b41f485528 Add missing parenthesis
The bug was introduced in 933c61b.
2015-02-22 23:52:41 -05:00
Sorin Ionescu
1292587f95 [Fix #777] Check for nvm or node 2015-02-22 21:53:40 -05:00
Sorin Ionescu
933c61b8f1 [Fix #776] Support GNU top 2015-02-22 21:42:11 -05:00
Sorin Ionescu
88aee30ae8 [Fix #762] Use $LOGNAME instead of $USER
$USER is deprecated.
2015-02-13 00:00:27 -05:00
Sorin Ionescu
4411c95a83 Update pure theme 2015-02-12 19:17:38 -05:00
Sorin Ionescu
62d87cae32 Update external completions 2015-02-12 19:15:47 -05:00
Sorin Ionescu
d43bcb9720 Revert "Remove extra git-dir call in git-info and use git_dir variable instead"
This reverts commit 3012c0984b.
2014-12-08 18:21:00 -05:00
Sorin Ionescu
ba351df9fb [Fix #748] Set grep color for BSD and GNU 2014-12-08 18:13:25 -05:00
Jacob Swartwood
925b94b6e2 Fix Powerline unicode characters
Branch & separator characters are updated to display properly.
2014-12-08 18:02:22 -05:00
Ranek Kiil
c171621747 Fix issue with several themes where errors occur
if the git module is not loaded.
2014-12-08 17:58:15 -05:00
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>
2014-12-08 17:54:41 -05:00
Grégoire Détrez
fc3f8025ea Add a preexec hook to set the GPG-Agent TTY
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-12-08 16:38:20 -05:00
Sorin Ionescu
9539341e1e [Fix #732] Replace $GREP_OPTIONS with an alias 2014-11-24 13:05:34 -05:00
nfnty
13d1ed160e Use $GNUPGHOME if it exists 2014-11-22 14:51:06 -05:00
Harry Terkelsen
2a33581e80 [Fix #724] Unquote variable
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-15 14:16:00 -05:00
Rys Sommefeldt
3dd4cbc3c0 Fix typo
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-14 17:24:07 -05:00
Sorin Ionescu
7a92046c86 Create a new tmux session if none exists 2014-11-13 19:40:41 -05:00
Yegor Pomortsev
3012c0984b Remove extra git-dir call in git-info and use git_dir variable instead 2014-11-12 19:19:19 -05:00
Daniel Kolakowski
00a5639e65 Enable iTerm2 tmux integration
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-12 18:19:58 -05:00
Ralph von der Heyden
3cb1f7c4c9 Inform how to add SSH identities to Keychain
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 22:52:40 -05:00
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>
2014-11-11 22:52:40 -05:00
Sorin Ionescu
d349c1cec7 Convert the PeepCode theme to git-info 2014-11-11 20:51:47 -05:00
Sorin Ionescu
a7a4912940 Add paradox theme 2014-11-11 20:51:46 -05:00
Sorin Ionescu
82710c29fc Fix theme function declaration style 2014-11-11 20:51:46 -05:00
Sorin Ionescu
9f82926f6e Add pure theme 2014-11-11 20:51:46 -05:00
Sorin Ionescu
61e91b8fb0 Add agnoster theme 2014-11-11 20:51:46 -05:00
Sorin Ionescu
967c91a351 Add powerline theme 2014-11-11 20:51:46 -05:00
Sorin Ionescu
087fce8548 Update sorin theme screenshot 2014-11-11 20:51:45 -05:00
Sorin Ionescu
2ae905a625 Indicate inside Emacs 2014-11-11 20:51:45 -05:00
Sorin Ionescu
19fc31c342 Indicate SSH connections 2014-11-11 20:51:45 -05:00
Kevin Laude
e76df6022d Add cloud theme
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
c2d62c3b47 Add ruby-info to smiley theme 2014-11-11 20:51:44 -05:00
Nadav Shatz
03336db523 Add smiley theme
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
1bc4235a5e Escape '%' in path 2014-11-11 20:51:44 -05:00
Daniel Møller Kristensen
c078c47c9d Add damoekri theme
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
0bede677e6 Add kylewest theme 2014-11-11 20:51:44 -05:00
Sorin Ionescu
ad09f29fd5 Add skwp theme 2014-11-11 20:51:42 -05:00
Paul Gideon Dann
567506f7e7 Update giddie theme
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-05 22:52:38 -05:00
Sorin Ionescu
13ed3a1bf7 Add giddie theme 2014-11-05 22:52:38 -05:00
Sorin Ionescu
ab7f697734 [Fix #713] Set prompt theme off in unsupported terminal 2014-11-05 17:41:36 -05:00
Linh M. Tran
d020d34e59 Fix node-info to show right node version
Currently, node-info shows nothing if $version is different than 'none'.
2014-10-19 17:21:54 +07:00
Milan Milanov
17a6124b43 Fix git log pretty format argument 2014-10-18 16:32:49 +02:00
Sorin Ionescu
3c47c57c87 [Fix #698] Describe module in README the same as in code 2014-10-15 18:54:24 -04:00
Jeff Widman
ff0cdd3ed7 Fix typo in Perl module readme 2014-10-15 18:49:47 -04:00
Sorin Ionescu
b948e3630b Load Homebrew installed NVM 2014-10-13 11:57:20 -04:00
Indrajit Raychaudhuri
55e4db9429 Enable 'acls', 'xattrs' support in rsync whenever available
rsync has support for these available in most cases and isn't
specific to Mac OS X any more.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-12 19:20:55 -04:00
Ivan Alejandro
86ba5b69d3 Ignore case in filenames
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:55:26 -04:00
Griffin Yourick
34a50c2550 Add homebrew-cask aliases to homebrew module
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:51:14 -04:00
Sebastian Wiesner
417b9d429d Update OPAM setup
Recent OPAM versions generate more elaborate setup code.
2014-10-10 18:38:32 -04:00
Humberto Morales
fea08d4e50 [Fix #669] Do not use lazy virtualenvwrapper
Lazy virtualenvwrapper completion crashes Zsh.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:35:33 -04:00
Sorin Ionescu
d3f1441481 [Fix #595] Simplify the handling of the Terminal.app proxy icon 2014-10-09 23:38:15 -04:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
10c33ec9a4 Convert tabs to spaces 2014-10-09 23:38:13 -04:00
Sorin Ionescu
9b1f39f267 [Fix #563] Control+Arrow keys are not in the terminfo database 2014-10-09 13:08:21 -04:00
Sorin Ionescu
36ade25eb6 [Fix #652] Execute abs with sudo 2014-10-09 00:02:56 -04:00
Sorin Ionescu
8f711d64b5 [Fix #594] Remove quotes surrounding associative array key 2014-10-06 23:36:33 -04:00
Sorin Ionescu
c4b50ec1a0 [Fix #635] Use $BROWSER to open node documentation 2014-10-06 18:02:45 -04:00
Jongwook Choi
62198b0326 Display full command line on suggestion for the kill command
For the zsh suggestion for the 'kill' command, show full command line
(command: usually with arguments) instead of only the executable name (comm).
2014-10-06 17:03:53 -04:00
Sorin Ionescu
b4884d4d45 [Fix #626] Escape '%' in path 2014-10-06 16:54:21 -04:00
Sorin Ionescu
abfc4ab6e5 [Fix #648] Do not instruct users to call editor-info 2014-10-06 16:50:03 -04:00
Sorin Ionescu
657e8a16f4 [Fix #689] Use GPG_AGENT_INFO instead of GPG_AGENT_PID
GPG_AGENT_PID may not be defined. Also, source gpg-agent.env before
checking the PID.
2014-10-06 16:42:22 -04:00
Sorin Ionescu
ea25ccf62c Set default GPG_AGENT_PID for grep
If `GPG_AGENT_PID` is unset, grep will succeed if another gpg-agent is
running as it will match the string `gpg-agent` where the PID was an
empty string. Set a default value for grep to a value that will never
match if unset, i.e. -1.
2014-10-05 21:46:58 -04:00
Kyle Manna
3e88b8bcdc Set default SSH_AGENT_PID for grep
If `SSH_AGENT_PID` is unset, grep will succeed if another ssh-agent is
running as it will match the string `ssh-agent` where the PID was an
empty string. Set a default value for grep to a value that will never
match if unset, i.e. -1.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:44:20 -04:00
deshtop
e892d7f3c7 Fix broken link to 256 color formatting blogpost
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:26:08 -04:00
Trevor Bekolay
4e4a6fcc63 Don't set node-info if version is 'none'
This is done to make it easier to not show node-info in themes
when no node version is currently in use. This is consistent with
how the Python module's python-info works.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:22:38 -04:00
lucy
3e8349ddde Use the x command for unrar and rar to preserve paths
unrar and rar will discard everything up to the file name when extracting
with `e`. This breaks extraction of archives that have files with duplicate
file names and ones where the paths are important. The `x` command
extracts with the full path instead.
2014-10-05 21:14:01 -04:00
Seizan Shimazaki
fdb406f917 Fix typo 2014-10-05 21:12:54 -04:00
eukaryote
493bf302f6 Ensure dircolors uses sh syntax
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:12:54 -04:00
Grégoire Détrez
a217af99f3 Prezto only enables the main syntax highlighter
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:12:53 -04:00
Sorin Ionescu
0f696fc206 Update external syntax-highlighting 2014-10-05 20:16:26 -04:00
Sorin Ionescu
96bcf813b7 Update external history-substring-search 2014-10-05 20:15:43 -04:00
Sorin Ionescu
fe8f9a9b5b Update external completions 2014-10-05 20:14:25 -04:00
Arthur Noel
bf9dbfd5b9 Support $PYTHONUSERBASE per PEP 370
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-04-03 17:55:35 -04:00
Xavier Cambar
ff0dfa424d Create a default tmux session only when none defined in tmux.conf
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-04-03 17:39:46 -04:00
Johannes Doerfert
fedad8e9cf Fix git-info added/deleted count formatting typo
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:52:39 -05:00
Xavier Cambar
478653fab2 [Fix #543] Do not set tmux destroy-unattached
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:48:49 -05:00
Sorin Ionescu
10cf701864 Simplify multiplexer auto-start tests 2014-02-26 17:19:19 -05:00
Sorin Ionescu
7722dd4400 Inform the user to load ruby as late as possible when using RVM 2014-02-17 23:39:22 -05:00
Sorin Ionescu
240eecaddf [Fix #551] Rename tmux auto-start session 2014-02-17 23:27:03 -05:00
Sorin Ionescu
415e4bff3d Fix a test operator bug introduced in e5a0e33 2014-02-17 23:09:11 -05:00
Gaelan D'costa
e5a0e33f1c [Fix #541] Do not auto-load screen/tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-17 22:43:49 -05:00
Laurent Goussard
8189577772 Disable glob for bower
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-16 18:29:01 -05:00
Sorin Ionescu
c74cf4b5e0 Prefix rarely used osx functions 2014-02-16 18:00:47 -05:00
Sorin Ionescu
72782528aa Add functions to display and delete osx download history 2014-02-02 20:30:27 -05:00
Sorin Ionescu
02717cb4c1 Update osx alias descriptions 2014-02-02 20:08:55 -05:00
Sorin Ionescu
bccfca8c10 Make osx functions autoloadable 2014-02-02 20:08:21 -05:00
Sorin Ionescu
b8bb51d7b5 Cast AppleScript paths to text 2014-02-02 14:44:22 -05:00
Sorin Ionescu
00e12b7a98 Add capability to browse man pages in Dash.app 2014-02-01 23:39:11 -05:00
Sorin Ionescu
232313e2a0 Remove Bwana.app support
Bwana.app has been stale for years. It no longer works properly.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
e48dac79f3 Add double slash after Bwana.app's man protocol
Safari 6's unified location and search bar can no longer tell the
difference between a protocol and a colon search.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
dbeb6d4e1a [Fix #361] Load chruby when found 2014-02-01 23:37:29 -05:00
Sorin Ionescu
af003d83c5 [Fix #535] Set Pacman frontend to 'pacman' when none set 2014-01-21 22:12:09 -05:00
Kaushal M
839f4a7b83 Fix setting the 'pac' alias 2014-01-13 21:35:38 -05:00
Sorin Ionescu
c091f71283 [Fix #522] Do not load the terminal module in non-graphical terminals 2014-01-09 20:07:40 -05:00
Sorin Ionescu
e1974ad58d [Fix #516] Define ZLE functions separately 2014-01-09 19:58:14 -05:00
Sorin Ionescu
80ded5e33d Revert "Remove utility aliases for Cygwin"
This reverts commit d368d0536b.
2014-01-04 17:30:37 -05:00
Sebastian Wiesner
fa6723a5ee Don't use sudo if implicitly called by Pacman frontend
Don't rely on alias expansion to handle Pacman because aliases
are not expanded in sudo.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-01-04 17:30:37 -05:00
Sorin Ionescu
57b283facd [Fix #514] Use /tmp when $TMPDIR is undefined 2014-01-03 14:20:32 -05:00
Sorin Ionescu
da1a837cd4 Refactor Bundler aliases 2013-11-30 19:25:11 -05:00
Sorin Ionescu
2ebdbdcff5 Update external completions 2013-11-29 20:37:01 -05:00
Sorin Ionescu
eea1eea7dc Update external history-substring-search 2013-11-29 20:36:33 -05:00
Sorin Ionescu
4e9553e896 Update external syntax-highlighting 2013-11-29 20:36:07 -05:00
Sorin Ionescu
50edc45132 [Fix #503] Prefix rails aliases with 'bundle exec' 2013-11-29 08:46:14 -05:00
Sorin Ionescu
d368d0536b Remove utility aliases for Cygwin 2013-11-29 08:46:14 -05:00
Sorin Ionescu
254b7c36d9 [Fix #324] Add configurable terminal window and tab title formats 2013-11-26 00:25:37 -05:00
Sorin Ionescu
d19c349f3f Unsufix internal functions 2013-11-26 00:25:37 -05:00
Sorin Ionescu
9f60ddb96b Prefix internal functions 2013-11-26 00:25:36 -05:00
Sorin Ionescu
5b4dcea595 Simplify auto-titling 2013-11-26 00:25:36 -05:00
Sorin Ionescu
b98c7469e5 Rewrite terminal auto-title 2013-11-26 00:25:35 -05:00
Sorin Ionescu
f6bd76a90b Remove unused GNU Screen window number format 2013-11-26 00:25:35 -05:00
Sorin Ionescu
d877617734 [Fix #362, Fix #384] Set Mac OS X 10.6 terminal window title 2013-11-26 00:25:34 -05:00
Sorin Ionescu
52ea7152ad Git ignore bundler vendor/assets 2013-11-25 17:25:11 -05:00
Sorin Ionescu
b159ddb02b Do not specify a bundler install path 2013-11-25 17:25:10 -05:00
Sorin Ionescu
5cfe250e52 Rewrite _rails-command to work from app subdirectories 2013-11-25 17:25:10 -05:00
Erik Strömberg
cc4a58bee3 Add Rails 4 bin path 2013-11-25 17:25:10 -05:00
Sorin Ionescu
28e956691c Add and update module descriptions 2013-11-17 15:58:53 -05:00
Sebastian Wiesner
1c6a016644 Add Ocaml module
Manage local Ocaml modules with OPAM.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-11-17 15:56:17 -05:00
Daniel Renninghoff
e18f18af92 Support command-not-found on Arch Linux
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-11-17 15:09:03 -05:00
Sorin Ionescu
a4bacb8bb9 [Fix #479] Start only one ssh-agent instance 2013-09-26 14:46:21 -04:00
Sorin Ionescu
a914a87aa9 Stop module loading when external code fails to source 2013-08-27 22:22:55 -04:00
Joseph Irwin
e1e2c85392 Use correct option for pacman search aliases 2013-08-27 16:08:10 -04:00
Sebastian Wiesner
8ee6634c93 Do not define $GEM_HOME
Defining it breaks gems for all users who neither use RVM nor rbenv,
but have a different default Ruby version nonetheless.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-08-25 22:24:42 -04:00
Sorin Ionescu
959887013d Simplify a conditional 2013-08-20 08:47:18 -04:00
Sorin Ionescu
b769505857 Remove duplicate alias definitions 2013-08-20 08:46:37 -04:00
Nicholas Hutchinson
622e7b117b Add utility aliases for Cygwin
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-08-20 08:35:55 -04:00
Sorin Ionescu
459238b2bb Replace pythonz with pyenv
Depending on Python to manage Python is silly.
2013-08-20 08:21:17 -04:00
Sorin Ionescu
773ca7ee50 Update external syntax-highlighting 2013-08-12 21:10:15 -04:00
Sorin Ionescu
92e688173b Update external history-substring-search 2013-08-12 21:10:06 -04:00
Sorin Ionescu
59e6e7fe8e Update external completions 2013-08-12 21:09:52 -04:00
Sebastian Wiesner
1ef2555100 Move from Carton to Cask
Carton was renamed to Cask to avoid a name clash with a Perl utility of
that name.
2013-08-12 18:27:49 -04:00
Georges Discry
07686fad38 Increase control over multiplexer auto-start
Setting the auto-start 'remote' and 'local' zstyles for the screen and
tmux modules to 'true' automatically starts a session in SSH connections
and in local terminals respectively.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-08-12 18:27:24 -04:00
Sorin Ionescu
61f3adcdd1 [Fix #459] Correct typos in the dpkg module 2013-08-09 17:03:26 -04:00
Sorin Ionescu
d817e80741 [Fix #452] Squash bugs introduced in fcab2a1 2013-08-09 17:02:38 -04:00
Sorin Ionescu
9d504d2d93 [Fix #411] Add Homebrew module 2013-05-27 17:23:54 -04:00
Sorin Ionescu
875ce2e56c [Fix #434] Correct ambiguity in the use of the term keymap 2013-05-27 17:23:53 -04:00
Sorin Ionescu
16aa48baeb Rename archive module functions 2013-05-25 14:42:43 -04:00
Sorin Ionescu
f007820a14 [Fix #436] Update link to Bombich rsync 2013-05-24 12:33:23 -04:00
Sorin Ionescu
9b945e26b9 Revert "[Fix #436] Remove Bombich rsync references"
This reverts commit 20655c8b66.
2013-05-24 12:29:49 -04:00
Sorin Ionescu
20655c8b66 [Fix #436] Remove Bombich rsync references 2013-05-23 19:10:26 -04:00
Sebastian Wiesner
0c9c099ac3 Add the RubyGems bin directory to PATH on other Unix systems
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-23 18:26:15 -04:00
Sorin Ionescu
baf7f6184b Do not substitute /tmp since $TMPDIR is always set 2013-05-23 16:00:16 -04:00
Sorin Ionescu
1622abb830 Make gpg-agent and ssh-agent work with each other 2013-05-18 21:52:19 -04:00
Sorin Ionescu
fcab2a1713 [Fix #425] Rewrite module ssh-agent; rename it to ssh 2013-05-18 19:27:40 -04:00
Sorin Ionescu
973278140e [Fix #103] Add documentation for editor 2013-05-18 17:05:44 -04:00
Sorin Ionescu
39b88fe334 Remove the git-info SIGINT message
Users should read the Git module README on how to turn git-info on and
off.
2013-05-18 15:31:34 -04:00
Sorin Ionescu
a7623aad6b [Fix #307] Do not auto-off git-info
Instead of turning off git-info when CTRL+C is caught, show instructions
on how to turn it off manually.
2013-05-18 15:31:34 -04:00
Sorin Ionescu
db384b2ac6 Remove ununsed variable 2013-05-18 15:31:33 -04:00
Sorin Ionescu
7845c36951 Clarify Git listing aliases descriptions 2013-05-18 15:31:33 -04:00
Sorin Ionescu
75c0d49f56 Swap aliases gsd and gsL 2013-05-18 15:31:33 -04:00
Sorin Ionescu
d4e78d427a Rename alias gRc to gRp 2013-05-18 15:31:32 -04:00
Sorin Ionescu
e836957e4f [Fix #221] Add a simple git-info 2013-05-18 15:31:32 -04:00
Sorin Ionescu
5306bab7ce [#221] Do not format undefined zstyles 2013-05-18 15:31:31 -04:00
Sorin Ionescu
f3ae9dd82c Initialize ahead and behind local variables 2013-05-18 15:31:31 -04:00
nasenatmer
88408e8bc2 Add rar command to archive module
This addition tries to use the rar command if unrar is not found.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-18 13:18:29 -04:00
Sorin Ionescu
fb5b1be345 Refactor Emacs module 2013-05-17 21:29:44 -04:00
Sebastian Wiesner
bde5149c7b Load completion for Carton 2013-05-17 23:13:11 +02:00
Neil Mather
7e33c7189e Correct syntax error in variable assignment
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-10 23:48:06 -04:00
Colin Hebert
413b717484 Ensure that the tmux server is started
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-06 19:08:31 -04:00
Sorin Ionescu
23f62774f9 [Fix #426] Correct syntax error in variable assignment 2013-05-03 08:56:13 -04:00
Sorin Ionescu
2e64f7ed64 [Fix #419] Rewrite module gpg-agent; rename it to gpg 2013-05-01 11:28:40 -04:00
Sorin Ionescu
6cd97d2d0f [Fix #52] Add zstyles to configure history-substring-search 2013-04-26 19:47:12 -04:00
Sorin Ionescu
810a4490d7 [#52] Add zstyles to configure syntax-highlighting 2013-04-26 19:47:07 -04:00
Sorin Ionescu
b42479a7c7 Set WORDCHARS in the editor module 2013-04-25 19:05:07 -04:00
Sorin Ionescu
80b203bcd3 [Fix #422] Revert "Remove no longer necessary key bindings"
This reverts commit 3c5363ef9b.
2013-04-25 17:51:27 -04:00
Sorin Ionescu
cf07c4ec91 Update external history-substring-search 2013-04-25 17:51:22 -04:00
Sorin Ionescu
05a6653284 Sort Git conflict aliases 2013-04-25 00:19:33 -04:00
Sorin Ionescu
4e3475d8a7 [Fix #403] Display accented characters properly 2013-04-24 23:18:10 -04:00
Scott Stevenson
f86854ebd4 Correct typos in git module README 2013-04-24 22:53:53 -04:00
Scott Stevenson
16a8e45cfa Wrap errant long line in git module README 2013-04-24 22:53:40 -04:00
Rory O’Kane
f431af790b Fix misspellings of the word bellow in READMEs 2013-04-24 22:50:17 -04:00
Sorin Ionescu
3c5363ef9b Remove no longer necessary key bindings 2013-04-24 22:39:53 -04:00
Sorin Ionescu
0d27e20e43 Update external history-substring-search 2013-04-24 22:36:26 -04:00
Sorin Ionescu
9e23df814f Update external syntax-highlighting 2013-04-24 22:28:38 -04:00
Colin Hebert
18d239141d Update external completions 2013-04-24 20:50:38 -04:00
Sorin Ionescu
579dfee6f7 [Fix #399] Only enable the main syntax highlighter 2013-03-01 00:27:00 -05:00
Sorin Ionescu
a1a2a37045 Use the builtin $signals array 2013-03-01 00:26:50 -05:00
Sebastian Wiesner
2baa4dce0c Add Emacs module
Enables Emacs dependency management with Carton.
2013-02-28 17:43:46 -05:00
Sorin Ionescu
e2c5f2fb2c [Fix #396] Remove the osx trash function
The trash program found at http://hasseg.org/trash is a superior
implementation.
2013-02-28 17:35:54 -05:00
Sorin Ionescu
f4d9b32de9 [Fix #351] Set empty keys to an invalid UTF-8 sequence 2013-01-29 14:13:14 -05:00
Zeh Rizzatti
185235003e Add support for nvm 2013-01-29 13:43:06 -05:00
neersighted
d198c08db5 Use $GNUPGHOME in GPG agent startup
Use the value of $GNUPGHOME, to facilitate moving GPG's home.

This lets users who keep their GPG keyring on external devices or alternate
folders use the gpg-agent autostarting, even if $HOME/.gnupg does not exist.
2013-01-28 18:19:09 -05:00
Sorin Ionescu
095863e6ae [Fix #385] Do not set $INFOPATH 2013-01-28 17:35:27 -05:00
Sorin Ionescu
e5de305157 [Fix #383] Do not set $MANPATH
man dynamically searches for man pages based on $PATH.
2013-01-28 17:34:55 -05:00
Sorin Ionescu
b531191e2c [Fix #366] Distinct position with red 2013-01-14 15:52:32 -05:00
Sorin Ionescu
14da495193 [Fix #349] Display diff when committing 2013-01-12 11:28:33 -05:00
Sorin Ionescu
bb6b590919 [Fix #360] Set alias giR to reset the index interactively 2013-01-12 11:25:06 -05:00
Sorin Ionescu
1d0b0e2e9b [Fix #357] Set alias gcO to check out hunks interactively 2013-01-03 13:13:46 -05:00
Sorin Ionescu
5a245850f0 [Fix #355] Do not set launchd environment variables
Setting environment variables for launchd processes is unreliable.
Finder and all Finder launched programs have to be restarted for the
new environment variables to take effect.
2012-12-30 18:15:43 -05:00
Sorin Ionescu
5d4282c43d [Fix #347] Move 'users' from tag-order to group-order 2012-12-23 11:27:39 -05:00
Sorin Ionescu
c737369083 Add an alias to ammend a git commit, including the message 2012-12-20 19:49:07 -05:00
Sorin Ionescu
bf957d7cc4 Update external syntax-highlighting 2012-12-20 19:30:08 -05:00
Sorin Ionescu
e5cfdba26d Update external completions 2012-12-20 19:27:50 -05:00
Sorin Ionescu
6cd1f66cd4 [Fix #348] Clarify how GNU utilities are wrapped 2012-12-20 19:11:19 -05:00
Sorin Ionescu
a120602dfa [Fix #338] Remove vi jk and kj bindings 2012-12-20 19:02:16 -05:00
Shahar Mintz
decf3cd875 Fix auto completion for SSH hosts when saved with a non-standard port 2012-12-20 18:55:52 -05:00
Jeff Sandberg
29647947fe [Fix #335] Prevent rbenv from hashing gems at startup 2012-12-20 18:53:58 -05:00
omarriott
795495b864 Fix a typo in git documentation 2012-12-20 18:22:47 -05:00
Sebastian Wiesner
13b501adaf Fallback to standard cabal location on OS X
If ~/Library/Haskell does not exist, fall back to ~/.cabal/bin.

Ideally, we'd parse ~/.cabal/config here, but cabal does not provide an
interface to get configuration settings.
2012-10-17 18:22:57 -04:00
Sorin Ionescu
1788d73cd8 [Fix #263, Fix #314] Ensure application mode is valid before use 2012-10-17 18:15:27 -04:00
Sorin Ionescu
52db7bb0f6 [#263, #314] Undo revert of "Ensure that $terminfo values are valid"
This reverts commit ed4e9af9c4.
2012-10-17 18:15:21 -04:00
Sorin Ionescu
bb597ae22d Replace table captions with headings
GitHub does not support Markdown table captions.
2012-10-03 20:09:51 -04:00
Sorin Ionescu
1ed7fd360c Replace z with fasd in modules README
See b967c50 and 24bb99c for more information.
2012-10-03 16:40:43 -04:00
Sorin Ionescu
cfc95cd5ee [Fix #244] Add Git special action styles 2012-10-02 14:23:01 -04:00
Sorin Ionescu
4f607bb470 Simplify git-log zstyle documentation 2012-10-02 14:16:58 -04:00
Sorin Ionescu
b36d98e431 Fix the name of the theme setup function in READMEs 2012-10-02 13:01:46 -04:00
Sorin Ionescu
be300dbd80 [Fix #96] Add documentation for git 2012-10-02 13:01:46 -04:00
Sorin Ionescu
3f4d5fac0c Add zstyles for git-log formats 2012-10-02 13:01:46 -04:00
Sorin Ionescu
5b2dcb8844 Rename gk prefixed aliases to gC 2012-10-02 13:01:39 -04:00
Sorin Ionescu
4c116cb4d2 Rename git-info zstyle patterns 2012-10-02 12:47:37 -04:00
Sorin Ionescu
f12c24e76e Rename python-info zstyle patterns 2012-10-02 12:47:32 -04:00
Sorin Ionescu
8ea0e42b7f Rename ruby-info zstyle patterns 2012-10-02 12:47:26 -04:00
Sorin Ionescu
141a1ba947 Rename editor-info zstyle patterns 2012-10-02 12:47:20 -04:00
Sorin Ionescu
bd9327ca3f Rename the Git status ignore submodules zstyle pattern 2012-10-01 22:46:51 -04:00
Sorin Ionescu
768c9d6ad3 Rename aliases gSu to gSI and gSU to gSu 2012-10-01 08:44:04 -04:00
Sorin Ionescu
0899dd4d38 Rename the alias gsc to gsX 2012-10-01 08:44:04 -04:00
Sorin Ionescu
770737bd83 Remove the gig alias
It escaped removal in 7b453c1.
2012-10-01 08:44:04 -04:00
Sorin Ionescu
f8da0452ce Fix SSH-Agent casing in README 2012-09-30 20:30:20 -04:00
Sorin Ionescu
6975e1df1c [Fix #300] Disable SSH-Agent protocol emulation by default 2012-09-30 20:30:20 -04:00
Sorin Ionescu
cefac28c58 Update external completions 2012-09-30 17:45:11 -04:00
Sorin Ionescu
24bb99cecd [Fix #129, Fix #211] Add fasd 2012-09-30 16:31:34 -04:00
Sorin Ionescu
b967c50faf [#129, #211] Remove z 2012-09-30 16:29:41 -04:00