mirror of
https://github.com/iridakos/goto.git
synced 2025-05-16 15:30:22 -07:00
parent
0d076f234a
commit
7ee8375853
@ -5,6 +5,11 @@ All notable changes to `goto` will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.2.4.1] - 2019-06-02
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- fix completion for zsh
|
||||||
|
|
||||||
## [1.2.4] - 2019-05-30
|
## [1.2.4] - 2019-05-30
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
A shell utility allowing users to navigate to aliased directories supporting auto-completion :feet:
|
A shell utility allowing users to navigate to aliased directories supporting auto-completion :feet:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## How does it work?
|
## How does it work?
|
||||||
|
|
||||||
|
8
goto.sh
8
goto.sh
@ -111,7 +111,7 @@ USAGE
|
|||||||
# Displays version
|
# Displays version
|
||||||
_goto_version()
|
_goto_version()
|
||||||
{
|
{
|
||||||
echo "goto version 1.2.4"
|
echo "goto version 1.2.4.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Expands directory.
|
# Expands directory.
|
||||||
@ -438,10 +438,10 @@ _complete_goto_zsh()
|
|||||||
return $ret
|
return $ret
|
||||||
}
|
}
|
||||||
|
|
||||||
aliases=($(alias | sed -n "s/.*\s\(.*\)='goto'/\1/p"))
|
goto_aliases=($(alias | sed -n "s/.*\s\(.*\)='goto'/\1/p"))
|
||||||
aliases+=('goto')
|
goto_aliases+=("goto")
|
||||||
|
|
||||||
for i in "${aliases[@]}"
|
for i in "${goto_aliases[@]}"
|
||||||
do
|
do
|
||||||
# Register the goto completions.
|
# Register the goto completions.
|
||||||
if [ -n "${BASH_VERSION}" ]; then
|
if [ -n "${BASH_VERSION}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user