14 Commits

Author SHA1 Message Date
Lazarus Lazaridis
28c98d48df Fix shellcheck SC2005 2018-03-14 17:53:11 +02:00
Daniel M. Drucker
46b849083f
align columns
use column in _goto_list_aliases
fix column in _goto_list_aliases to actually work
2018-03-14 11:06:12 -04:00
Lazarus Lazaridis
01fb5723ce Bump version to 1.2.2 2018-03-13 21:37:19 +02:00
James Short
3229e2a5aa Zsh completion for -x, -p, -o.
Resolves #21.
2018-03-13 10:27:12 -07:00
Lazarus Lazaridis
a4c77f3a55 Bump version to 1.2.1 2018-03-13 16:01:30 +02:00
Daniel M. Drucker
044ed5775c
allow GOTO_DB to be set from environment.
To resolve #14.
2018-03-13 08:59:32 -04:00
Lazarus Lazaridis
cb4a353012 Bump version to 1.2.0 2018-03-12 09:40:20 +02:00
Lazarus Lazaridis
a5b88497d1 Fix shellcheck errors and warnings. 2018-03-12 09:32:07 +02:00
Lazarus Lazaridis
f0529d90de Merge remote-tracking branch 'upstream/master' into feature/push_pop_commands 2018-03-12 09:13:41 +02:00
Lazarus Lazaridis
1c397b1700 Merge remote-tracking branch 'upstream/master' into feature/expand_command 2018-03-12 08:43:04 +02:00
Lazarus Lazaridis
37a960d000 Fix shellcheck warnings. 2018-03-12 07:54:31 +02:00
Lazarus Lazaridis
19393468fc Resolve goto db upon completion.
Fixes #20.
2018-03-12 07:37:52 +02:00
Lazarus Lazaridis
141e42d506 Merge remote-tracking branch 'upstream/master' into zsh_complete 2018-03-12 07:28:54 +02:00
James Short
b1747d35ec Add support for zsh completion.
I also made the documentation and name of file more generic as it works
for both zsh and bash.  I removed the shebang since this file is simply
sourced by the calling shell and it doesn't have executable permissions
anyway.

The various functions were updated to return non-zero on errors in case
anyone uses goto in other scripts.

The logic for parsing ~/.goto to determine which aliases can be cleaned
was simplified into an awk script that removed the array manipulation
logic that was not zsh compatible.
2018-03-09 10:33:53 -08:00