136 Commits

Author SHA1 Message Date
Lazarus Lazaridis
f0cccd9a0a
Update README.md 2018-03-13 11:46:02 +02:00
Lazarus Lazaridis
3791a84057 Add logo 2018-03-13 11:38:22 +02:00
Lazarus Lazaridis
61b72d0c9e Update readme 2018-03-13 11:35:02 +02:00
Lazarus Lazaridis
285abc5659 Add logo 2018-03-13 11:33:17 +02:00
Lazarus Lazaridis
2611df3f84 Add logo 2018-03-13 11:28:05 +02:00
Lazarus Lazaridis
f22c11dfab Fix outline 2018-03-12 20:17:25 +02:00
Lazarus Lazaridis
1f9ff19cf9 Add usage outline. 2018-03-12 20:16:27 +02:00
Lazarus Lazaridis
412126b9bb Update outline of README. 2018-03-12 20:09:00 +02: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
2db8b0bf1f
Merge pull request #17 from shawalli/feature/push_pop_commands
Add Push/Pop Commands
2018-03-12 09:26:53 +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
17e6131f00
Merge pull request #16 from shawalli/feature/expand_command
Adds a command to expand an alias to its value
2018-03-12 09:10:04 +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
22db14dbe6
Merge pull request #18 from OmriHab/install-script
Add installation script
2018-03-12 08:28:57 +02:00
Lazarus Lazaridis
37f927cd26 Check script existence before sourcing 2018-03-12 08:26:19 +02:00
Lazarus Lazaridis
4f47eac606 Update goto script extension 2018-03-12 08:25:49 +02:00
Lazarus Lazaridis
34a08a4bee Fix indentation 2018-03-12 08:13:38 +02:00
Lazarus Lazaridis
2dde2ed274 Add license info 2018-03-12 08:13:16 +02:00
Lazarus Lazaridis
3182b61b98 Fix shellcheck errors and warnings. 2018-03-12 08:12:54 +02:00
Lazarus Lazaridis
75835c36e4 Merge remote-tracking branch 'upstream/master' into install-script 2018-03-12 08:04:17 +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
0b3b8527a9
Merge pull request #13 from jshort/zsh_complete
Add support for zsh completion
2018-03-12 07:30:08 +02:00
Lazarus Lazaridis
141e42d506 Merge remote-tracking branch 'upstream/master' into zsh_complete 2018-03-12 07:28:54 +02:00
Lazarus Lazaridis
f92a4df24a
Merge pull request #19 from OmriHab/dev
Added duplicate note.

Great work @OmriHab !
2018-03-12 06:47:02 +02:00
Lazarus Lazaridis
12336713a0 Move duplicate warning before registration message. 2018-03-12 06:45:19 +02:00
Lazarus Lazaridis
51f8c88eba [MINOR] Fix indentation and comments 2018-03-12 06:44:29 +02:00
Lazarus Lazaridis
109f0eb62f Add function to display warnings ala errors. 2018-03-12 06:43:55 +02:00
Lazarus Lazaridis
a9fed9b549 Enable interpretation of backslash escapes on error. 2018-03-12 06:42:25 +02:00
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