1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 17:16:47 +00:00
Commit Graph

1023 Commits

Author SHA1 Message Date
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
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
Sorin Ionescu
26d3d16154 Add missing backslashes 2012-09-29 13:45:49 -04:00
Sorin Ionescu
c6cdd47b24 Define variable expl as local 2012-09-29 13:42:31 -04:00
Sorin Ionescu
b0a71cae3c Load dependencies in Git init 2012-09-29 13:07:31 -04:00
Sorin Ionescu
eb93677e4a [Fix #303] Remove extra '/' in sorin theme 2012-09-28 18:24:34 -04:00
Sorin Ionescu
be0e4245a6 [Fix #301] Unset $MATCH after use 2012-09-26 16:51:32 -04:00
Sorin Ionescu
1dfc0bf784 Ensure $key_info is populated before use 2012-09-25 20:14:07 -04:00
Sorin Ionescu
4711d6ba66 Load external editor support after $key_info definition 2012-09-25 17:31:46 -04:00
Sorin Ionescu
b1b5af23b6 Check for empty values in $key_info properly 2012-09-25 17:27:16 -04:00
Sorin Ionescu
bc8533c30e Update sorin theme screenshot 2012-09-25 17:25:29 -04:00
Sorin Ionescu
7d68d3ff52 [Fix #297] Check for pythonz before returning 2012-09-25 13:04:06 -04:00
Sorin Ionescu
8ff60ad956 [#297] Check for RVM and rbenv before returning 2012-09-25 13:03:54 -04:00
Sorin Ionescu
6b0b6c2f9a Do not setopt LOCAL_OPTIONS in set-titles-with-command
emulate -L zsh sets LOCAL_OPTIONS and LOCAL_TRAPS
2012-09-25 12:30:37 -04:00
Sorin Ionescu
d48a162366 [Fix #299] Set EXTENDED_GLOB in set-titles-with-path 2012-09-25 12:28:55 -04:00
Sorin Ionescu
eb0856d2f5 Add a missing '.' 2012-09-25 01:47:23 -04:00
Sorin Ionescu
7b453c1073 Add git-grep aliases 2012-09-25 01:31:09 -04:00
Sorin Ionescu
003ca8365b Add an alias for stashing the Git working copy 2012-09-25 01:31:09 -04:00
Sorin Ionescu
deeb115ae2 Add Git submodule moving and removing 2012-09-25 01:31:08 -04:00
Sorin Ionescu
9785454938 Rename git-hub-short-url to git-hub-shorten-url 2012-09-25 01:31:08 -04:00
Sorin Ionescu
7dd78595ae Rename git-hub to git-hub-browse 2012-09-25 01:31:08 -04:00
Sorin Ionescu
e43f2b2659 Add support for browsing GitHub tags 2012-09-25 01:31:08 -04:00
Sorin Ionescu
224dc2eaff Use Git porcelain commands in git-hub 2012-09-25 01:31:08 -04:00
Sorin Ionescu
4cc8167739 Refactor terminal 2012-09-25 01:30:20 -04:00
Sorin Ionescu
52a8c98337 [Fix #290] Add fish shell style PWD to sorin theme 2012-09-25 00:54:49 -04:00
Sorin Ionescu
d7d85f517a [Fix #289] Describe all modules in a README 2012-09-25 00:42:03 -04:00
Roman A. Taycher
20d7ec0ab8 Fix the setting of $manpath in haskell 2012-09-20 14:16:49 -04:00
Colin Hebert
a67a4fdf91 Fix URLs in tmux documentation
Use full URLs instead of relative urls.

Fix link about kernel issues with tmux on Mac OS X.
2012-09-12 11:48:44 -04:00
Andrew Naoum
07a25e6ae6 Set title in screen even when using Apple Terminal
In modules/terminal/init.zsh, the auto-title code currently will only
set the screen title if $TERM_PROGRAM != 'Apple_Terminal'. As a result,
if you use screen within an Apple Terminal, the screen title will not be
correctly set.

To fix this, I changed the logic such that the screen title will be set
even if the $TERM_PROGRAM == 'Apple Terminal'.
2012-09-11 02:06:27 -04:00
Sorin Ionescu
c8b82afeec Increase readability in utility init 2012-09-11 02:03:32 -04:00
Sorin Ionescu
38d1875020 Match BSD ls colors to Linux ls colors 2012-09-11 01:59:04 -04:00
Sorin Ionescu
bc4351cfab [Fix #283] Define $LS_COLORS for completion 2012-09-11 01:57:28 -04:00
Sorin Ionescu
468047a7f9 [Fix #116] Add documentation for spectrum 2012-09-11 01:57:00 -04:00
Sorin Ionescu
716c12cfbc Fix vcs_info zstyles in nicoulaj theme 2012-09-10 15:59:38 -04:00
Sorin Ionescu
e91bd95ffb Set unused prompts to an empty string 2012-09-10 15:59:38 -04:00
Sorin Ionescu
1ff2b5ee8d Fix dirty indicator spacing in peepcode theme 2012-09-10 15:59:38 -04:00
Sorin Ionescu
eb29987ce9 [Fix #277] Make the peepcode theme status symbol customizable 2012-09-10 15:59:18 -04:00
Sorin Ionescu
fad7122a92 [Fix #261] Add documentation for writing prompt themes 2012-09-10 15:58:55 -04:00
Sorin Ionescu
ab0eedd45e Update sorin theme screenshot 2012-09-09 20:06:12 -04:00
Sorin Ionescu
80909fd04a Change Git branch and prompt color 2012-09-09 19:11:17 -04:00
Sorin Ionescu
fea343c03a Move the vi mode indicator to the left prompt 2012-09-09 14:00:43 -04:00
Sorin Ionescu
b48e0ed74f [Fix #249] Add documentation for helper 2012-09-08 19:24:11 -04:00
Sorin Ionescu
10f333f45c Rename autoloadable to is-autoloadable 2012-09-08 19:24:11 -04:00
Sorin Ionescu
3d5e302777 [Fix #245] Merge trap into helper 2012-09-08 19:23:39 -04:00
Sorin Ionescu
e5e26eccff [#245] Convert helper into a module 2012-09-08 19:23:33 -04:00
Sorin Ionescu
737d0e51ee Do not set Terminal.app window, tab titles to $PWD 2012-09-08 14:57:30 -04:00
Sorin Ionescu
ed4e9af9c4 [Fix #263] Revert "Ensure that $terminfo values are valid"
The VT100 terminal application mode is an old relic that is no longer
needed.

This reverts commit a5f8d04d34.
2012-09-07 22:35:05 -04:00
Sorin Ionescu
dd72b55f52 [Fix #260] Add peepcode theme 2012-09-07 08:59:37 -04:00
Colin Hebert
0f7e454977 [Fix #268] Get entire history for history-stat
The 'history' command is the same as 'fc -l', using a '.' as the first
parameter will get the history from the first command starting with a '.'.
Instead a '0' should be used, meaning that the history is taken from the very
first entry in the history.
2012-09-06 23:45:44 -04:00
Sorin Ionescu
209846011f [Fix #267] Fix psu on non-Mac OS X systems 2012-09-06 23:43:40 -04:00
Sorin Ionescu
74fe820ad2 Remove an unintentional newline 2012-09-06 23:36:45 -04:00
dnuux
ae1fde9e4f Fix pacman-list-explicit function
The function previously worked only when there were no updates
available. Pacman also does not need superuser rights to list
installed packages.
2012-09-06 23:36:45 -04:00
Sorin Ionescu
ac04921afa Clarify info functions descriptions 2012-09-06 23:17:38 -04:00
Sorin Ionescu
e5a9bdc4b4 [Fix #259] Add ruby-info function 2012-09-06 23:06:50 -04:00
Sorin Ionescu
eceef765b7 Move theming documentation into its own section 2012-09-06 22:39:14 -04:00
Sorin Ionescu
cc7e43b242 [Fix #253] Move Prezto settings into their own file 2012-09-03 16:52:47 -04:00
Sorin Ionescu
8cdf06e386 [#255] Use $ZDOTDIR or $HOME 2012-09-03 16:51:32 -04:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
5232191cbe Check if $TMPDIR is empty, not null 2012-09-03 14:43:50 -04:00
Sorin Ionescu
afae737b78 Document virtualenvwrapper configuration variables 2012-09-03 11:29:16 -04:00
Sorin Ionescu
f8689401de Set the virtualenvwrapper $WORKON_HOME variable 2012-09-03 11:29:08 -04:00
Sorin Ionescu
6e664690ef Use the lazy virtualenvwrapper 2012-09-03 10:37:56 -04:00
Sorin Ionescu
98c545a102 [Fix #248] Replace virtualenv_info with python-info
Conflicts:
	modules/python/README.md
2012-09-03 10:34:41 -04:00
Sorin Ionescu
1057801208 [Fix #218] Add support for pythonz 2012-09-02 21:14:32 -04:00
Sorin Ionescu
1ea238e276 [Fix #256] Rename .zcache to .zcompcache 2012-09-01 17:58:15 -04:00
Sorin Ionescu
935e6a5060 Show references in Git one line and graph formats 2012-08-31 21:08:46 -04:00
Sorin Ionescu
75bca681c1 Integrate z
The z alias has been replaced with j.
2012-08-31 19:02:58 -04:00
Sorin Ionescu
2f4f11bd40 Use $VISUAL and fallback on $EDITOR for the e alias 2012-08-28 23:58:09 -04:00
Sorin Ionescu
a952a60362 Fix a syntax error introduced in bf654dd 2012-08-28 23:58:09 -04:00
Sorin Ionescu
bf654dde09 Improve the readability of _git-action 2012-08-27 21:37:04 -04:00
Sorin Ionescu
8d7f785ea9 Remove the unnecessary action local variable 2012-08-27 20:40:16 -04:00
Sorin Ionescu
722353130e Detect the sequenced Git cherry picking action 2012-08-27 20:38:23 -04:00
Sorin Ionescu
23844ca744 Comment the sourcing of module files 2012-08-27 20:32:50 -04:00
Sorin Ionescu
75b894b0cd Load editor in history-substring-search 2012-08-27 20:29:39 -04:00
Sorin Ionescu
35e434831d Update syntax-highlighting 2012-08-27 20:22:20 -04:00
Sorin Ionescu
3b87a4db48 Update external completions 2012-08-27 18:49:45 -04:00
Sorin Ionescu
ccf181379a [Fix #242] Remove hub 2012-08-27 18:40:29 -04:00
Sorin Ionescu
ffee859037 Correct a spelling mistake in READMEs 2012-08-27 18:39:16 -04:00
Sorin Ionescu
627d653360 Alias py to python 2012-08-27 18:33:09 -04:00
Sorin Ionescu
624736d3fc Alias pac to pacman 2012-08-27 18:32:55 -04:00
Sorin Ionescu
8baba34fb0 Refactor tmux aliases 2012-08-27 18:32:28 -04:00
Sorin Ionescu
b2f0bdf8fd Refactor Screen aliases 2012-08-27 18:32:26 -04:00
Sorin Ionescu
abfa69fc01 Refactor Rails aliases 2012-08-27 18:32:11 -04:00
Sorin Ionescu
3ec4fff033 Refactor Ruby aliases 2012-08-27 18:31:53 -04:00
Sorin Ionescu
e03b8b9004 Refactor Perl aliases 2012-08-27 18:31:17 -04:00
Sorin Ionescu
2183f64d31 Move prep and psub from Perl to Utility 2012-08-13 20:13:55 -04:00
Sorin Ionescu
2250f93fa3 [Fix #233] Bind history-substring-search using $key_info 2012-08-07 21:32:53 -04:00
Sorin Ionescu
88af470bd6 [Fix #232] Disable globbing for rsync, scp, ftp, sftp 2012-08-07 21:31:54 -04:00
Sorin Ionescu
d22d250a5c Add missing theme screenshots 2012-08-06 16:53:03 -04:00
Sorin Ionescu
a9b6c84ea5 Update comments in themes 2012-08-06 16:52:38 -04:00
Sorin Ionescu
7bb6d588d7 Simplify and clean up the steeef theme 2012-08-06 16:45:50 -04:00
Sorin Ionescu
1c136faf73 Remove unnecessary checks in steeef
Many programs affect repositories, not just the command line versions.
2012-08-06 15:44:13 -04:00
Sorin Ionescu
95faf814b5 [Fix #230] Check the expanded command in steeef preexec 2012-08-06 12:32:50 -04:00
Sorin Ionescu
a5f8d04d34 Ensure that $terminfo values are valid 2012-08-04 15:26:13 -04:00
Sorin Ionescu
9e288d859a Clarify a comment about GNU utilities 2012-08-04 14:53:38 -04:00
Sorin Ionescu
28a20b48e6 Wrap editor module documentation at 80 characters 2012-08-04 14:52:17 -04:00
Sorin Ionescu
9a52ecb21b Increase heading readability 2012-08-04 14:48:32 -04:00
Sorin Ionescu
060d9064f8 [Fix #202] Load modules all or nothing 2012-08-04 14:32:59 -04:00
Sorin Ionescu
4d86e9c591 [Fix #212] Replace dircolors with whoami 2012-07-19 15:49:24 -04:00
Sorin Ionescu
060f34c7e5 [Fix #215] Set Terminal title on Mac OS X 10.8 2012-07-08 17:28:44 -04:00
Sorin Ionescu
bede1a2a71 Improve cache file generation 2012-07-03 21:38:56 -04:00
Sorin Ionescu
5f6e19e26d Remove redundant code, increase readability 2012-07-03 21:35:49 -04:00
Sorin Ionescu
d0bc126d01 Move aliases to the bottom 2012-07-03 14:07:17 -04:00
Sorin Ionescu
129a2acb07 [Fix #102] Add documentation for dpkg 2012-07-03 14:06:17 -04:00
Sorin Ionescu
ec9c8fae49 Refactor dpkg aliases 2012-07-03 14:05:10 -04:00
Sorin Ionescu
9bf1789cc2 Localize variables, improve readability 2012-07-03 14:02:46 -04:00
Sorin Ionescu
325a377d5e Remove unnecessary variables, improve readability 2012-07-03 14:02:46 -04:00
Sorin Ionescu
bf18785bca Quote variables, improve readability 2012-07-03 14:02:46 -04:00
Sorin Ionescu
6bfb6f3104 Rename dpkg functions 2012-07-03 14:02:46 -04:00
Sorin Ionescu
c90317917b Clarify alias documentation in pacman 2012-07-03 14:01:52 -04:00
Sorin Ionescu
b83d03118e [Fix #109] Add documentation for pacman 2012-06-30 17:34:11 -04:00
Sorin Ionescu
fc06e0b125 Refactor Pacman aliases 2012-06-30 17:29:30 -04:00
Sorin Ionescu
d54211832a Improve AWK code readability, remove highlighting 2012-06-30 15:54:51 -04:00
Sorin Ionescu
e3b6b5ab30 Rename Pacman functions 2012-06-24 18:01:38 -04:00
Sorin Ionescu
2b186900cb Improve Git submodule updating aliases 2012-06-23 14:03:25 -04:00
Sebastian Wiesner
e703642e4b Update gnu-utility module loading order 2012-06-23 13:20:32 -04:00
Sorin Ionescu
34ca75cdf2 [Fix #210] Rename alias lp to lm 2012-06-23 13:09:55 -04:00
Sorin Ionescu
0f9a6878f8 [Fix #209] Switch the casing of y/n 2012-06-21 22:35:15 -04:00
Julien Stechele
a2fcb36e5f Update completion module loading order 2012-06-17 13:34:21 -04:00
Sorin Ionescu
0a86caffc3 Remove 'arrow keys' from history-substring-search description 2012-06-17 13:32:29 -04:00
Sorin Ionescu
00348eca51 Fix a title in the history-substring-search README 2012-06-14 19:33:46 -04:00
Sorin Ionescu
780ab4a496 [Fix #113] Add documentation for rails 2012-06-14 19:16:17 -04:00
Sorin Ionescu
6c1cec6f9b Rewrite some of the rails aliases 2012-06-14 19:15:22 -04:00
Sorin Ionescu
027edbaae5 Correct title casing in screen and tmux READMEs 2012-06-14 18:01:01 -04:00
Sorin Ionescu
71b98ad515 [Fix #119] Add documentation for terminal 2012-06-14 18:00:06 -04:00
Sorin Ionescu
117c2323bc [Fix #118] Add documentation for syntax-highlighting 2012-06-14 17:48:24 -04:00
Sorin Ionescu
13c1c1996d Add a zstyle to set the syntax highlighter 2012-06-14 17:20:57 -04:00
Sorin Ionescu
e095911cda Correct the history-substring-search README 2012-06-14 17:17:36 -04:00
Sorin Ionescu
f2f6d20bde [Fix #105] Add documentation for gpg-agent 2012-06-14 12:51:03 -04:00
Sorin Ionescu
abfd6b0a25 [Fix #114] Add documentation for rsync 2012-06-13 21:54:36 -04:00
Sorin Ionescu
c1bb7e5b27 Rename variable rsync_cmd to _rsync_cmd 2012-06-13 21:44:27 -04:00
Sorin Ionescu
425aec21ee [Fix #122] Add documentation for yum 2012-06-13 21:41:04 -04:00
Sorin Ionescu
719bc1c67f Rewrite yum aliases 2012-06-13 21:40:28 -04:00
Sorin Ionescu
54e8b37c77 [Fix #196] Remove compdef calls 2012-06-13 18:04:33 -04:00
Sorin Ionescu
e4be6d633f [Fix #195] Fallback to the default command 2012-06-13 14:50:05 -04:00
Sorin Ionescu
7dc55a8304 [#195] Add missing make, diff, wdiff calls 2012-06-13 14:09:57 -04:00
Sorin Ionescu
86d0086b56 [Fix #115] Add documentation for ruby 2012-06-12 23:23:22 -04:00
Sorin Ionescu
c4c6d47e0a Remove the word Lion from the Perl README 2012-06-12 23:23:22 -04:00
Sorin Ionescu
ee80a0ac33 [Fix #110] Add documentation for perl 2012-06-12 20:57:27 -04:00
Sorin Ionescu
48b83fae7b Add additional Perlbrew aliases 2012-06-12 19:20:03 -04:00
Sorin Ionescu
af70f189f2 Reorganize perl aliases 2012-06-12 19:18:29 -04:00
Sorin Ionescu
8eae776f0e [Fix #108] Add documentation for node 2012-06-12 16:44:48 -04:00
Ben O'Hara
ba7fcceac5 [Fix #117] Add documentation for ssh-agent 2012-06-12 16:39:57 -04:00
Sorin Ionescu
74867a4b57 [Fix #107] Add documentation for macports 2012-06-12 16:39:53 -04:00
Sorin Ionescu
ae9d1d44e5 Rewrite macports aliases 2012-06-12 16:17:45 -04:00
Sorin Ionescu
1500717004 [Fix #120] Add documentation for trap 2012-06-12 15:35:47 -04:00
Sorin Ionescu
b02f9d7dbe Correct functions list indentation in osx README 2012-06-12 15:15:52 -04:00
Sorin Ionescu
859ab4e8e0 Correct spelling mistakes in READMEs 2012-06-12 15:13:21 -04:00
Sorin Ionescu
e35d6b984a Do not remove superfluous blanks from events
Recording superflous blanks is useful when indenting multiline commands.
2012-06-10 20:06:53 -04:00
Sorin Ionescu
8e91f01d55 Move settings right bellow module description 2012-06-10 20:05:34 -04:00
Sorin Ionescu
cbdf8122a6 [Fix #149] Restructure utility 2012-06-10 20:04:56 -04:00
Sorin Ionescu
218081becd [#149] Rename duh to dut 2012-06-10 20:04:56 -04:00
Sorin Ionescu
6740d88fb2 [#149, Fix #98] Add documentation for alias 2012-06-10 20:04:55 -04:00
Sorin Ionescu
93e76b9e8d [#149] Move compdef calls into their own files 2012-06-10 20:04:55 -04:00
Sorin Ionescu
fdb3f4152f [#149] Remove unnecessary if statements 2012-06-10 20:04:55 -04:00
Sorin Ionescu
761ba12813 [#149] Simplify diff, wdiff, make 2012-06-10 20:04:55 -04:00
Sorin Ionescu
45ab153c64 [#149] Move diff, wdiff, make into their own files 2012-06-10 20:04:55 -04:00
Sorin Ionescu
aa36596287 [#149] Merge alias into utility 2012-06-10 20:04:55 -04:00
Sorin Ionescu
c352b86aeb Add MacPorts paths to path variables 2012-06-02 17:20:00 -04:00
Sorin Ionescu
9c8c2003cd Check operating system in macports 2012-06-02 17:20:00 -04:00
Sorin Ionescu
160e1a3926 Check operating system in osx 2012-06-02 17:17:41 -04:00
Sorin Ionescu
b2b90c22f8 Improve diction in documentation 2012-06-02 17:17:12 -04:00
Sorin Ionescu
c28c5edd21 [Fix #99] Add documentation for archive 2012-05-31 23:18:37 -04:00
Sorin Ionescu
9f0501b140 Move the completion module loading information 2012-05-31 22:18:18 -04:00
Sorin Ionescu
4fd347580e [Fix #104] Add documentation for environment 2012-05-31 21:27:48 -04:00
Sorin Ionescu
7a4433e92c [#171] Move environment variables into zshenv 2012-05-31 17:35:07 -04:00
Sorin Ionescu
7731be2f5e Fix diction in a comment 2012-05-31 17:35:07 -04:00
Jano González
9224c653f9 Fix typo that prevents using make 2012-05-23 20:08:20 -04:00
Sorin Ionescu
075f516763 Clean up READMEs 2012-05-21 20:34:07 -04:00
Sorin Ionescu
a4cf629c2f Refactor the listing of lost Git commits 2012-05-21 17:25:36 -04:00
Sorin Ionescu
f932fa792e Add the ability to recover dropped Git stashes 2012-05-21 17:22:49 -04:00
Sorin Ionescu
7e60f13d7d Add spacing to increase readability 2012-05-21 16:24:39 -04:00
Sorin Ionescu
00394b6069 Rename git-current-branch to git-branch-current 2012-05-21 16:12:03 -04:00
Sorin Ionescu
d3cad0721b Remove 'prompt' from the Git position zstyle 2012-05-21 15:58:05 -04:00
Sorin Ionescu
be2c8decdb Use $HOME instead of ~ 2012-05-20 20:15:34 -04:00
Sorin Ionescu
c0f2007646 [Fix #135] Set completion default list-colors 2012-05-20 20:15:34 -04:00
Sorin Ionescu
f4909ca507 [#135] Inform of the completion loading order 2012-05-20 20:15:34 -04:00
Sorin Ionescu
b6ba93fb15 [#135] Inform of the gnu-utility loading order 2012-05-20 20:15:34 -04:00
Sorin Ionescu
8394cc7e25 Separate colormake from colordiff 2012-05-20 20:15:33 -04:00
Sorin Ionescu
8a784c7ec7 Rename the alias module zstyle 2012-05-20 20:15:31 -04:00
Sorin Ionescu
c24273e4d2 Rename the completion module zstyle 2012-05-20 20:15:12 -04:00
Sorin Ionescu
24559be19d Add quotes around file names 2012-05-20 20:13:23 -04:00
Sorin Ionescu
0165379143 Clarify comments in ruby module 2012-05-20 20:13:21 -04:00
Sorin Ionescu
18ea11c096 [Fix #180] Print all file name columns 2012-05-19 12:05:42 -04:00
Sebastian Wiesner
235cef787e Add haskell module
This module provides support for per user haskell packages by prepending
the per user directories to PATH/MANPATH.
2012-05-19 11:53:36 -04:00
Sebastian Wiesner
84a6c19c2b Remove a wrong builtin call in mkdcd
mkdir is not a builtin command.
2012-05-14 21:13:19 -04:00
Sorin Ionescu
aa925d22b4 [Fix #170] Remove Git stash count leading spaces 2012-05-08 22:38:40 -04:00
Sorin Ionescu
0cd33ca694 [Fix #169] Ask for confirmation when executing gsc 2012-05-08 22:37:24 -04:00
Sorin Ionescu
3c084f57bb [#169] Move _git-dir out of git-info into git-dir 2012-05-08 22:37:24 -04:00
Indrajit Raychaudhuri
e79fc7a1aa Add IPv6 patterns to ignore list of host completion 2012-05-07 11:56:07 -04:00
Adrià Casajús
9b9a4aa9b3 Use expand-or-complete for shell expansion
Fix current word completion as described in:
http://www.zsh.org/mla/users/2003/msg00610.html.
2012-05-05 22:08:02 -04:00
Sorin Ionescu
5edd663510 [Fix #160] Exclude all words but the current one 2012-05-05 21:59:03 -04:00
Colin Hebert
64e1e968eb [Fix #121] Add documentation for utility 2012-05-05 19:52:27 -04:00
Sorin Ionescu
e5ec94af42 Check for non-empty files, not just existance 2012-05-05 18:08:25 -04:00
Sorin Ionescu
3ed8265e28 [#145] Do not depend on the alias module 2012-05-05 18:01:56 -04:00
Sorin Ionescu
dbc9dff760 [#145] Simplify the slit utility 2012-05-05 18:01:56 -04:00
Sorin Ionescu
31c5d6e334 [#145] Complete directories for the mkdcd utility 2012-05-05 18:01:55 -04:00
Sorin Ionescu
3cbfa686ab [#145] Use builtin commands in the mkdcd utility 2012-05-05 18:01:55 -04:00
Sorin Ionescu
8bcece5895 [#145] Load the alias module in the utility module
Functions cdll, pushdll, and popdll depend on the ll alias.
2012-05-05 18:01:55 -04:00
Sorin Ionescu
aed0d586cb Unset path_file after use 2012-05-05 17:47:32 -04:00
Sorin Ionescu
76347e638a [Fix #165] Remove personal paths from environment 2012-05-05 17:45:10 -04:00
Sorin Ionescu
a438b146fe [Fix #163] Selectively set terminal title in preexec
Apple Terminal will now reset the terminal title after a command has finished
executing.
2012-05-05 16:54:38 -04:00
Sorin Ionescu
e541283126 [Fix #112] Add documentation for python 2012-05-05 16:27:53 -04:00
Sebastian Wiesner
c9561e1b87 Source virtualenvwrapper in python module 2012-05-05 12:31:53 -04:00
Paul Gideon Dann
09d1448ac7 [Fix #150] Convert wakeonlan README to Markdown 2012-05-05 12:20:15 -04:00
Indrajit Raychaudhuri
3c85575f80 Use the server timestamp in the get alias 2012-04-22 12:30:33 -04:00
Colin Hebert
10ab5e2b58 [Fix #111] Add documentation for prompt 2012-04-15 15:32:40 -04:00
Sorin Ionescu
399b2f529d Edit spelling in history comments 2012-04-15 14:21:51 -04:00
Colin Hebert
6493506e30 [Fix #106] Add documentation for history 2012-04-15 13:46:19 -04:00
Colin Hebert
79b2daf7b4 [Fix #101] Add documentation for directory 2012-04-15 13:28:25 -04:00
Sorin Ionescu
ea19b5e6a7 Add an alias to git show-branch 2012-04-15 10:38:42 -04:00
Sorin Ionescu
73f22c2a32 Revert "[Fix #64] Remove the clean git-info style"
This reverts commit a06f13f036.

Conflicts:

	modules/git/functions/git-info
	plugins/git/style.zsh
2012-04-14 21:40:01 -04:00
Colin Hebert
2859204067 [Fix #100] Add documentation for completion 2012-04-13 19:10:02 -04:00
Colin Hebert
ccccfb2c8c [Fix #139] Document a startup error in tmux module 2012-04-13 09:38:45 -04:00
Sorin Ionescu
51439bdcaa Remove the reload utility function
The reload function no longer works since loaded modules cannot be
reloaded.
2012-04-12 10:33:38 -04:00
Sorin Ionescu
69b3d07923 [Fix #134] Check for GNU du instead of Linux 2012-04-12 10:20:33 -04:00
Sorin Ionescu
906d6c8d15 [Fix #123] Add documentation for z 2012-04-11 21:01:24 -04:00
Sorin Ionescu
c109f3fc07 Refactor z initialization 2012-04-11 21:01:08 -04:00
Sorin Ionescu
4270c8bf72 Fix z sourcing 2012-04-11 20:51:10 -04:00
Sorin Ionescu
f48a60f40e [Fix #127] Indicate overwrite mode in sorin theme 2012-04-11 17:57:17 -04:00
Sorin Ionescu
4bab24c0e6 [#127] Add an indicator for overwrite mode 2012-04-11 17:57:13 -04:00
Colin Hebert
5b6855e3eb Always format Git dirty 2012-04-11 16:58:25 -04:00
Colin Hebert
213b57ee6f Replace the pmine function with an alias 2012-04-11 16:51:24 -04:00
Sorin Ionescu
d738392709 Remove 'core' from gnu-utility documentation
It works with more than GNU Core Utilities.
2012-04-11 16:51:24 -04:00
Sorin Ionescu
7bf5773b3d Rename gnu-utils to gnu-utility 2012-04-11 16:43:12 -04:00
Sorin Ionescu
878d0fbab3 [Fix #125] Wrap GNU utilities in functions
There are three methods for calling prefixed GNU utilities interactively
non-prefixed aliasing, hashing, and wrapper functions. Two of these
methods are unreliable and are discussed bellow for reference only.

The aliasing method is unreliable since aliases are at risk of being
overridden resulting in non-GNU utilities being called with invalid
switches.

The hashing method is unreliable because hashed commands are lost
whenever hash -r or rehash -f are called. Thus, said built-ins have to
be wrapped to rehash GNU utilities. Unfortunately, altering $path will
cause Zsh to call the built-in rehash instead of the wrapped one
resulting in the hashed commands being lost.

The wrapper function method is currently the most reliable and is the
one used.
2012-04-11 16:40:20 -04:00
Sorin Ionescu
6512996133 [#125] Use is-callable to check for GNU utilities 2012-04-11 15:14:19 -04:00
Colin Hebert
e81ad23346 Remove ls aliases from gnu-utils
There is no need to redefine aliases that are already defined elsewhere.
Load gnu-utils before alias instead.
2012-04-11 12:58:45 -04:00
Sorin Ionescu
000b3653e6 [Fix #126] Do not evaluate undefined $git_info
Fix a bug introduced in aa0c1fa.
2012-04-11 12:29:45 -04:00
Sorin Ionescu
64da1ed627 Rename $editor_keymap_info to $editor_info[keymap] 2012-04-10 10:27:56 -04:00
Sorin Ionescu
9e6df0511e Rename $keyinfo to $key_info for consistency 2012-04-09 18:47:09 -04:00
Sorin Ionescu
1691d44fcc Add usage information for editor 2012-04-09 18:04:05 -04:00
Sorin Ionescu
1ba592f40a Add usage information for prompt 2012-04-09 17:45:33 -04:00
Sorin Ionescu
0ecc0a740b Add usage information for terminal 2012-04-09 17:45:33 -04:00
Sorin Ionescu
035fd8e7ed Add an alias to dirs 2012-04-09 17:45:33 -04:00
Sorin Ionescu
dc7c51434a Simplify a few for loops 2012-04-09 17:45:32 -04:00
Sorin Ionescu
a7db355e26 Simplify a few unsets 2012-04-09 17:45:32 -04:00
Sorin Ionescu
9f0336b9d8 Remove '--mixed' from the 'gir' alias
Fix a bug introduced in d4a5bed.

Though '--mixed' is the default for 'git reset', using it with paths
returns the following warning.

warning: --mixed with paths is deprecated; use 'git reset -- <paths>'
instead.
2012-04-09 17:45:32 -04:00
Sorin Ionescu
9d8187ba6b Merge completions into functions
Completions are nothing more than auto-loadable functions prefixed with
an underscore placed somewhere in $FPATH.
2012-04-09 17:45:32 -04:00
Sorin Ionescu
aa0c1faa19 [Fix #88] Allow arbitrary git-info formats
The terms 'prompt' and 'rprompt' are not always appropriate.
A multi-line theme may choose 'line-one' and 'line-two' instead.

@ColinHebert contributed to this commit.
2012-04-09 17:45:31 -04:00
Sorin Ionescu
342f6e94a3 Remove a no longer needed .gitignore 2012-04-09 17:41:55 -04:00
Sorin Ionescu
c9b8ad569d Convert add-zsh-trap into a module 2012-04-09 17:41:55 -04:00
Sorin Ionescu
d13b697792 Simplify Git submodule ignore settings 2012-04-09 17:41:53 -04:00
Sorin Ionescu
b47b845b13 Move history-stat from utility into history 2012-04-09 17:39:09 -04:00
Sorin Ionescu
3a22e60534 Remove compleat
Compleat (http://git.io/4foLxQ) has not been updated in two years and
should be considered abandoned.
2012-04-09 17:39:09 -04:00
Sorin Ionescu
68dd3109fc Move Git zstyles into the git-info header comment 2012-04-09 17:39:07 -04:00
Sorin Ionescu
48dcd2f723 Shorten git zstyle namespace 2012-04-08 15:07:14 -04:00
Sorin Ionescu
900c4d8f3f [Fix #23] Ensure dependencies are loaded 2012-04-08 15:07:14 -04:00
Sorin Ionescu
c6793d38b9 [#23] Remove unnecessary compdef calls 2012-04-08 15:07:14 -04:00
Sorin Ionescu
e2859daba4 [#23] Prevent errors when completion is disabled 2012-04-08 15:07:14 -04:00
Sorin Ionescu
d5a94dda74 [#23] Rename keymap indicator zstyles 2012-04-08 15:07:13 -04:00
Sorin Ionescu
8d98e62b34 [#23] Add if to conditions to not wrongly return 1 2012-04-08 15:07:13 -04:00
Sorin Ionescu
66c14486c6 [#23, Fix #80] Move themes into the prompt module 2012-04-08 15:07:13 -04:00
Sorin Ionescu
6233ec6aad [#23] Add a module loading function 2012-04-08 15:07:11 -04:00
Sorin Ionescu
86e4d2e3ff [#23] Convert environment into a module 2012-04-05 13:39:43 -04:00
Sorin Ionescu
56f8f83d58 [#23] Convert terminal into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
1330e6e792 [#23] Convert editor into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
92816f6db7 [#23] Convert completion into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
4f06785949 [#23] Convert history into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
b1934f037d [#23] Convert directory into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
b1bb0d781d [#23] Convert spectrum into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
bebbf3a99d [#23] Convert alias into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
73478bd190 [#23] Convert utility into a module 2012-04-05 13:39:41 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00