Lazarus Lazaridis
a1c2b8a78c
Fix shellcheck errors and warnings.
2018-03-12 06:40:47 +02:00
Omri
fe1ca68950
Updated readme's install
2018-03-11 13:02:24 +02:00
Omri
3bb1dc79de
Added duplicate note
2018-03-11 12:49:33 +02:00
Omri
6cfe42eda3
Added GOTO_DB variable
2018-03-11 12:03:48 +02:00
Omri
bdf17eb705
Added install script
2018-03-11 12:00:20 +02:00
Shawn Wallis
df46ea166b
Adds auto-completion and documentation for expand command
2018-03-09 13:48:45 -05:00
Shawn Wallis
873ee5a05d
adds documentation for push/pop commands
2018-03-09 13:45:18 -05:00
Shawn Wallis
e53f05c21e
Adds two commands to replicate pushd/popd before completing goto
2018-03-09 13:38:07 -05: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
Shawn Wallis
21c3b66a77
Adds a command to expand an alias to its value
2018-03-09 13:07:55 -05:00
Lazarus Lazaridis
860f81e432
Add autocomplete options for version
2018-03-09 01:41:40 +02:00
Lazarus Lazaridis
36447d94c9
Properly split lines with directories with spaces
2018-03-09 01:39:38 +02:00
Lazarus Lazaridis
6c92199e20
Fix cleanup in macOS
...
Refs #12 .
2018-03-09 01:25:32 +02:00
Lazarus Lazaridis
1370e23ee6
Fix macOS errors
...
Refs #12
2018-03-09 01:09:31 +02:00
Lazarus Lazaridis
825cc52de7
Don't use mapfile
...
Refs #12 .
2018-03-09 01:00:54 +02:00
Lazarus Lazaridis
ae7e85180e
Don't use mapfile.
...
Refs #12 .
2018-03-09 00:47:17 +02:00
Lazarus Lazaridis
6190887a3c
Merge pull request #11 from SubOptimal/contribute
...
merge consecutive calls of sed
2018-03-08 16:11:05 +02:00
Lazarus Lazaridis
21da83518f
Fix shellcheck warning.
...
Comply with https://github.com/koalaman/shellcheck/wiki/SC1117
2018-03-08 16:10:37 +02:00
Frank Dietrich
ff75b024b4
typo fix
2018-03-08 08:18:27 +01:00
Frank Dietrich
c48fff0322
merge consecutive calls to sed
2018-03-08 08:08:50 +01:00
Lazarus Lazaridis
e536db0aca
Update local variable definitions
2018-03-08 03:45:58 +02:00
Lazarus Lazaridis
92bd6ef882
Add ShellCheck note when contributing.
2018-03-08 03:31:20 +02:00
Lazarus Lazaridis
0baf5c1481
Provide version command
...
Fixes #10
2018-03-08 03:22:57 +02:00
Lazarus Lazaridis
dae1cbd612
Fix shellcheck warnings and errors.
2018-03-08 03:12:30 +02:00
Lazarus Lazaridis
eb01f9c065
Link to zsh issue.
2018-03-07 00:39:52 +02:00
Lazarus Lazaridis
f94133b7bb
Update readme with zsh issues.
...
Refs #7 .
2018-03-07 00:37:59 +02:00
Lazarus Lazaridis
c3b0c491ec
Handle directories with spaces.
...
Refs #8 .
2018-03-06 23:39:07 +02:00
Lazarus Lazaridis
01cdb9a8d0
Merge pull request #4 from jcavejr/master
...
Allow hyphens and underscores in aliases
2018-03-06 22:31:29 +02:00
Lazarus Lazaridis
8aa08c36ab
Shorten message.
2018-03-06 22:30:05 +02:00
Lazarus Lazaridis
74af9ef9cc
Update goto.bash
2018-03-06 22:25:04 +02:00
Lazarus Lazaridis
29a3bd6352
Remove redundant alpha class on the 2nd character.
2018-03-06 22:21:24 +02:00
Jeff Cave
1174ae13fb
removed ability to start an alias name with a -
2018-03-06 14:50:55 -05:00
Lazarus Lazaridis
d47bd2ce70
Update README.md
2018-03-06 18:23:32 +02:00
Lazarus Lazaridis
4f610a1ad7
Display informative text if no aliases exist upon listing.
...
Fixes #5 .
2018-03-06 12:03:22 +02:00
Jeff Cave
ae2c3b9084
updated error message for invalid name on register
2018-03-05 19:54:14 -05:00
Jeff Cave
35f83adce4
added ability to use hyphen and underscore in names
2018-03-05 19:45:28 -05:00
Lazarus Lazaridis
21f4f2b060
Fix code snippet.
2018-03-06 01:14:53 +02:00
Lazarus Lazaridis
b654c6933a
Add missing completion for the cleanup command.
2018-03-05 23:44:58 +02:00
Lazarus Lazaridis
58c3ea9271
Update readme.
2018-03-05 23:43:30 +02:00
Lazarus Lazaridis
0ac31f2bf3
Alter script to be compatible with macOS.
...
Refs #1 .
2018-03-05 23:16:16 +02:00
Lazarus Lazaridis
81d9fd79ae
[MINOR] Fix indentation.
2018-03-05 23:14:33 +02:00
Lazarus Lazaridis
d1e7c194e9
Differentiate alias completion for Darwin.
...
Refs #1 .
2018-03-05 22:43:43 +02:00
Lazarus Lazaridis
8a6fc50212
[MINOR] Remove redundant space.
2018-03-05 22:14:16 +02:00
Lazarus Lazaridis
4fde6c0c9b
Fix match regex when finding alias directory.
...
Refs #1 .
2018-03-05 22:13:57 +02:00
Lazarus Lazaridis
70ce90315d
Update match regex to support macOS exact match.
...
Refs #1 .
2018-03-05 22:10:30 +02:00
Lazarus Lazaridis
967cf1852d
Fallback for compopt in macOS.
2018-03-05 22:09:48 +02:00
Lazarus Lazaridis
55afbbc10e
Update readme with TODO section.
...
Refs #1 .
2018-03-05 21:30:33 +02:00
Lazarus Lazaridis
d6d79c2b2f
Update README.md
2018-03-05 20:01:59 +02:00
Lazarus Lazaridis
f64cda8f66
Update README.md
2018-03-05 17:44:02 +02:00
Lazarus Lazaridis
c59518d838
Improve usage format.
2018-03-05 15:27:57 +02:00