rupa
cd47da6e03
documentation
2011-08-03 16:43:34 -04:00
rupa
c51a59403d
documentation
2011-08-03 16:42:42 -04:00
rupa
4d8210e8e8
documentation
2011-08-03 16:41:37 -04:00
rupa
a0f58616ec
use a case statement rather than a bash substring, for portability
2011-08-03 16:13:15 -04:00
rupa
3638788227
remove a debug line
2011-08-02 15:51:50 -04:00
rupa
08044a32c5
fix zsh tab completion, which I believe has been broken since 84ace8e8a9
2011-08-02 15:50:46 -04:00
rupa
a508e8360a
add tab completion section to man page
2011-07-25 17:25:47 -04:00
rupa
79dc3f340f
only cd to completions if we've actually tab completed them
...
We decide you've tab completed if the last argument begins with /, and is an
existing directory. This may still cause unexpected behavior if you do that
without tab completing.
2011-07-25 16:46:10 -04:00
rupa
facab80796
add info about how to install the man page as mentioned in #gh-32
2011-07-14 14:57:18 -04:00
rupa
2613c630bd
better error handling for issues 30 and 31
2011-07-10 15:09:15 -04:00
rupa
860fe10fe1
we don't care if awk reports a failure due to no .z file. Closes #31
2011-07-09 21:11:38 -04:00
rupa
dfc42cfba8
minor style change after pulling from Enlik
2011-06-29 16:13:37 -04:00
rupa
979a33744a
Merge pull request #30 from Enlik/master
...
pull request: use actual return status; don't truncate file when disk full
2011-06-29 13:07:21 -07:00
Sławomir Nizio
3f22f53d7d
Check return status of awk when adding an entry.
...
This will avoid truncating data file to zero length when disk is full.
2011-06-26 01:01:40 +02:00
Sławomir Nizio
3e103cf8a5
Use actual return status, not 'local' builtin's.
2011-06-26 00:52:24 +02:00
rupa
84ace8e8a9
rename z() to _z(), aliased to z. update manpage and readme.
...
Alias allows cmd to be overriden, and makes it so z prints to STDOUT as
expected. Not well tested on zsh.
2011-06-08 17:06:01 -04:00
rupa
f24af5c4a0
Merge pull request #27 from simonair/master.
...
zsh - correctly complete directories with spaces
2011-05-03 10:27:52 -07:00
Simon Heimlicher
a8fa136820
Allow spaces in directory names (fix only works for zsh)
2011-05-03 11:53:58 +02:00
rupa
22b68c7e96
use 'test' to check for file ownership. closes #25 . thanks sjmadsen.
2011-04-27 14:30:30 -04:00
rupa
bad41c20ca
better tests for file ownership. closes #24 and #25
2011-04-27 03:19:27 -04:00
rupa
85f1c2e73c
typo
2011-04-14 09:05:55 -04:00
rupa
d96f3c99ec
bail out if we're another user but our env is still from olduser - prevent clobbering our db file
2011-04-14 08:28:08 -04:00
rupa
84837e575f
suppress any errors from PROMPT_COMMAND
2011-04-14 08:08:50 -04:00
rupa
67cd38d05a
remove shebang line. It's not necessary as the script is sourced, and it implies bash only
v1.0
2011-02-28 17:27:33 -05:00
rupa
30d6eb1b53
add man page, update README to sync with it.
2011-02-23 17:30:18 -05:00
rupa
107fa3e1a8
deal with 'set -C'. closes #16
2011-02-23 15:23:23 -05:00
rupa
c415a22158
license under WTFPL. Closes #13 - I think...
2011-02-19 14:25:20 -05:00
rupa
73edb4969c
docs
2011-02-06 19:12:39 -05:00
rupa
1c1467eafa
readme
2011-02-06 19:04:56 -05:00
rupa
5d6ab0a07f
let's try using env in case people have aliases mv or rm. closes #11
2011-02-06 18:55:51 -05:00
rupa
fe143668c1
only set $PROMPT_COMMAND under bash. Closes #10
2011-01-28 15:30:11 -05:00
rupa
5142b69212
use mktemp to prevent file clobbering (d'oh!). closes #9
2011-01-27 14:22:57 -05:00
Josh Dick
3f418bab5d
zsh support for z with tab completion - precmd() was found inside sjl/z-zsh
2010-12-18 07:29:22 +00:00
rupa
50e01eeba8
supress a rare error from pwd, and formatting
2010-12-16 03:12:04 -05:00
rupa
91c3b9ecd2
variable quoting for $HOME with spaces. seems like it works.
2010-04-06 17:07:20 -04:00
rupa
15d37f8928
should fix issues with spaces in $HOME
2010-03-31 19:29:22 -04:00
rupa
0f7f16b229
smartcase in completions - ie only case sensitive if there is an uppercase letter in search
2010-02-15 15:33:36 -05:00
rupa
10e2de9cf2
make completions case-insensitive
2010-02-15 11:20:51 -05:00
rupa
73e42366ed
typo in README
2010-02-10 14:46:06 -05:00
rupa
8a125d9f3d
make the cd variable local. make PROMPT_COMMAND checking a bit more robust.
2010-02-10 14:40:54 -05:00
rupa
5a5f453f31
more specific enumeration of changes from j
2009-10-13 19:54:41 -04:00
rupa
47c4f3b3d5
minor formatting change in list output
2009-10-13 19:46:37 -04:00
rupa
c373396f0e
Merge branch 'master' of git@github.com:rupa/z
2009-10-13 19:44:37 -04:00
rupa
0904fc4c04
rename the case array to wcase, as gawk can be compiled with support for
...
switch/case, in which event case is a reserved word, and causes errors.
Closes gh-2.
2009-10-13 19:42:10 -04:00
rupa
fee5337242
remove markdown formatting from readme
2009-07-27 12:55:52 -04:00
rupa
151872282f
protect against a malformed regex deleting your
2009-07-21 15:13:38 -04:00
rupa
45dd885e7c
documentation
2009-07-06 15:55:56 -04:00
rupa
eacb0e8cd3
pass tmpfile name to awk in a variable. BSD awk (which OSX appears to use) doesn't like to redirect to concatenated filenames, and FILENAME is not available in the BEGIN clause, which is where i'd like to concatenate it, so this seemed the best approach. Closes gh-1
2009-07-02 12:18:53 -04:00
rupa
66cb4864b0
iphone compatibility - use fd redirects rather than explicitly naming /dev/stderr.
2009-07-02 10:54:49 -04:00
rupa
46bb84b76c
typo
2009-06-26 11:26:07 -04:00