26 Commits

Author SHA1 Message Date
iridakos
be728483cc Release 2.0.0 2020-01-27 15:41:51 +02:00
Brennan Fee
b796e5c7f3 feat!: Changing default config to XDG_CONFIG_HOME
BREAKING CHANGE: The default config file has moved to
$XDG_CONFIG_HOME/goto
2020-01-07 12:38:07 -06:00
Lazarus Lazaridis
7ee8375853 Fix completion for zsh
* Fixes #54
2019-06-02 10:06:54 +03:00
iridakos
0d076f234a Support autocomplete for goto aliases
* refs #53
2019-05-30 17:35:50 +03:00
escozul
119c93c983
Update goto.sh 2019-04-01 17:50:25 +03:00
Lazarus Lazaridis
736a27b4ad
Update version 2019-03-21 22:16:56 +02:00
Lazarus Lazaridis
66d28463ea Revert "Use the XDG Base Directory Specification when possible."
This reverts commit c3f6da2f61ba6bf9011d8573b3314db20ef917fe.
2019-03-21 22:15:57 +02:00
gahag
c3f6da2f61 Use the XDG Base Directory Specification when possible.
Attempt to use the XDG_DATA_DIR from the XDG Base Directory Specification for the db file.
Fallback to home if there is already a db file there, or if XDG_DATA_DIR is unavailable.
2019-03-11 02:11:01 -03:00
Hugo Locurcio
a3e97391f2
Create the goto database if it doesn't already exist
This makes sure the goto database file is always created when entries
need to be written to it.
2018-08-12 21:29:27 +02:00
Hugo Locurcio
344e1e35c2
Add colors and improve alignment in the list display 2018-08-12 20:21:42 +02:00
Lazarus Lazaridis
9c6be35e87 Bump version to 1.2.3 2018-03-14 21:47:54 +02:00
Daniel M. Drucker
294f13872b
convention is that a sourced (not executed) script should NOT have a shebang 2018-03-14 13:41:56 -04:00
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