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

512 Commits

Author SHA1 Message Date
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
Sorin Ionescu
875def4f43 Load dependencies after requirements check 2012-09-30 16:08:27 -04:00
Sorin Ionescu
d7fb7cd215 Add a missing space to peepcode 2012-09-30 16:07:15 -04:00
Sorin Ionescu
d0535dd2fd Simplify mkdcd completion 2012-09-30 16:05:36 -04:00
Sorin Ionescu
8b8a883718 Add completion for Git submodule moving and removing 2012-09-30 15:53:26 -04:00
Sorin Ionescu
6cf368cf4d Silence git-branch-current in aliases 2012-09-30 15:44:09 -04:00
Sorin Ionescu
102da8bea0 Make sure that the current directory is a Git repository 2012-09-30 15:44:08 -04:00
Sorin Ionescu
6c1a81b5cf Return inside of the if statement 2012-09-29 23:37:28 -04:00
Sorin Ionescu
39a793af0a Simplify git-config calls 2012-09-29 23:17:39 -04:00
Sorin Ionescu
2bee82dc2a Fix a #compdef bug introduced in 7dd7859 2012-09-29 14:00:38 -04:00