Commit Graph
190 Commits
Author SHA1 Message Date
rupa d3c0074e5b Merge branch 'master' into async 2016-07-21 13:11:34 -04:00
rupa 78f0d97d3d silence error from zsh when datafile is created 2016-07-21 13:10:24 -04:00
rupa 335717ef08 fix -e without breaking zsh 2016-07-21 13:09:14 -04:00
rupa 0aad15ff8b Merge branch 'master' into async 2016-07-20 21:41:46 -04:00
rupa 62e9cdc11d fix zsh builtin complaints
remove a uselessly clever variable substitution
2016-07-20 21:38:22 -04:00
rupa 055e68bc37 Merge branch 'master' into async 2016-07-20 20:00:15 -04:00
rupa 91cbf1a326 Use builtin cd in case you've messed with it. 2016-07-20 19:57:46 -04:00
rupa 8a4b58d369 Async PROMPT_COMMAND for zsh
h/t @balta2ar
2016-07-20 15:31:43 -04:00
rupa 88a31c2162 Async PROMPT_COMMAND
Speed up prompt by updating in the background. Might lead to more
~/.z.XXXX litter and less accurate counts - let's see.
2016-07-20 10:00:23 -04:00
rupa 9dafe447af docs; closes #186 2016-04-23 15:30:53 -04:00
Paul Phillips 3143b28dd9 Check intended exit code. Fixes #177. (#178)
* Check intended exit code. Fixes #177.

Use PIPESTATUS rather than $? to check last program in a pipeline.

* Avoid PIPESTATUS/pipestatus entirely.

Use process substitution to obtain input and sidestep the
question of where the exit code is.
2016-04-23 15:08:38 -04:00
rupa cd9f1e2d96 streamline implementation of -e flag 2016-01-25 20:02:17 -05:00
rupa d0cf5282df add -e flag to echo best match only (no cd)
-l lists and does not cd, but has enough extra stuff going on to make
it a bit of a pain if you want to parse out just the best match for
your own nefarious purposes - therefore this.
h/t @synthetiv. Closes #161
2016-01-25 19:43:16 -05:00
rupa 5dc2a863cc Merge branch 'master' of github.com:rupa/z v1.9 2015-09-13 16:38:00 -04:00
rupa e12eefeeb2 use type in shell checks
shouldn't change behavior, and should be faster on load.
2015-09-13 16:35:17 -04:00
rupa d5adc9a623 Merge pull request #152 from Somasis/master
Fix special char escaping so `mawk` likes it

LTGM, thanks
2015-04-14 10:35:48 -04:00
Kylie McClain eda8015880 fix special char escaping so mawk likes it 2015-04-13 20:42:43 -04:00
rupa aec4df7d40 Merge pull request #148 from tomhoover/patch-1
commit c507bdd broke zsh -- this fixes it
2015-02-17 12:09:44 -05:00
Tom Hoover 054cf43fbe commit c507bdd broke zsh -- this fixes it 2015-02-16 21:26:24 -06:00
rupa 588fbb917b Merge pull request #130 from notwa/quiet_shift
Prevent extraneous shifting
2015-02-14 13:42:56 -05:00
rupa c507bdd707 also ignore subdirs of _Z_EXCLUDE_DIRS 2015-02-14 13:24:04 -05:00
rupa b620b0a8af Age a bit slower. 2014-08-31 13:24:36 -04:00
rupa f0a71cae87 remove tab literal 2014-08-31 13:06:38 -04:00
rupa a830cc1cd4 Merge branch 'master' into ordered_args 2014-08-07 11:16:12 -04:00
rupa 855ca298c4 Document $_Z_OWNER 2014-08-07 11:15:51 -04:00
rupa 0e89aebce8 Merge pull request #137 from dan-bolsun/z_owner
Allow usage of z while in 'sudo -s' mode
2014-08-07 11:11:35 -04:00
Dan Bolsun 79aa545cd7 Allow usage of z while in 'sudo -s' mode 2014-07-02 11:02:46 +03:00
rupa 4fab37850e Merge branch 'master' into ordered_args 2014-06-27 12:44:58 -04:00
rupa 56027bfa61 suppress error from tab completion when datafile not exists
h/t @juanpabloaj. Closes #136
2014-06-27 12:42:47 -04:00
rupa 0f559cd60a Merge branch 'master' into ordered_args 2014-05-28 11:12:49 -04:00
rupa 24895f3e39 Merge pull request #132 from lge88/master
use command pwd instead of pwd. h/t Ige88
2014-05-28 11:08:23 -04:00
Li Ge f1801e7979 use command pwd instead of pwd 2014-05-15 10:28:40 -07:00
Connor Olding 722a564ffb Fix potential infinite loop 2014-03-31 03:18:03 -07:00
Connor Olding cee0887f77 Prevent extraneous shifting 2014-03-31 02:15:45 -07:00
rupa 5741d9044d Fix sed errors on OSX, without breaking ubuntu
h/t @Keithbsmiley. Closes #125
2014-02-05 18:04:38 -05:00
rupa b6faed01b8 Merge branch 'master' into ordered_args 2013-12-12 20:04:56 -05:00
rupa 575cada5e9 Different syntax for setting zsh precmd
Old versions of bash choke on the += syntax, even though it's in a chunk
of code for another shell. Closes #122 - h/t @atannen.
2013-12-12 20:01:41 -05:00
rupa dcb47814c5 Merge branch 'master' into ordered_args 2013-08-23 10:22:44 -04:00
rupa f1500aa03d Typo fix. Closes #115. 2013-08-23 10:22:07 -04:00
rupa ce00ee16b8 Don't need to do a substr cause we've removed leading space from $fnd 2013-08-18 14:20:05 -04:00
rupa 2511918400 Merge branch 'master' into ordered_args 2013-08-18 14:13:30 -04:00
rupa 2d45afcc7f Eliminate leading space from $fnd 2013-08-18 14:12:51 -04:00
rupa 0f59bdb1f3 Merge branch 'master' into ordered_args 2013-08-18 02:42:01 -04:00
rupa dde88df53f Delete a letter in man page. 2013-08-18 02:41:29 -04:00
rupa 4932acafc7 Arguments to z must be ordered.
E.g. 'z foo bar' matches /foo/bar but not /bar/foo.
2013-08-18 02:26:08 -04:00
rupa 8053deda75 Avoid duplicate precmd functions in zsh
Hat tip @knu ... closes #110
2013-07-30 10:23:34 -04:00
rupa a3b78989b2 Merge pull request #109 from uchida/fix-for-solaris10-or-earlier
redirect to /dev/null instead of '-q' option for solaris 10 or earlier
2013-07-29 11:03:06 -07:00
Akihiro Uchida 805f6ff76d redirect to /dev/null instead of '-q' option for solaris 10 or earlier 2013-07-29 20:08:04 +09:00
rupa 6de41080cb redirect to dev/null a bit more POSIXly v1.8 2013-07-07 17:48:07 -04:00
rupa a3f3874696 Merge branch 'cleanup' of github.com:rupa/z into cleanup 2013-06-25 22:59:21 -04:00