Skip to content

Commit 3be7270

Browse files
author
Wei Dai
committed
Release 0.5.2
* Fix "oops"
1 parent 4cea2f1 commit 3be7270

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ cp `f mov` .
7171

7272
# Install
7373

74-
Download fasd 0.5.1 from GitHub:
75-
[zip](https://github.com/clvv/fasd/zipball/0.5.1),
76-
[tar.gz](https://github.com/clvv/fasd/tarball/0.5.1).
74+
Download fasd 0.5.2 from GitHub:
75+
[zip](https://github.com/clvv/fasd/zipball/0.5.2),
76+
[tar.gz](https://github.com/clvv/fasd/tarball/0.5.2).
7777

7878
Fasd is a self-contained POSIX shell script that can be either sourced or
7979
executed. A Makefile is provided to install `fasd` and `fasd.1` to desired

fasd

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ fasd() {
6060

6161
auto) cat <<EOS
6262
{ if compctl; then # zsh
63-
eval "\$(fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-I \
64-
zsh-wcomp zsh-wcomp-I)"
63+
eval "\$(fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install \
64+
zsh-wcomp zsh-wcomp-install)"
6565
elif complete; then # bash
66-
eval "\$(fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-I)"
66+
eval "\$(fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install)"
6767
else # posix shell
6868
eval "\$(fasd --init posix-alias posix-hook)"
6969
fi
@@ -487,7 +487,7 @@ EOS
487487
while [ "$1" ]; do case "$1" in
488488
--complete) [ "$2" = "--" ] && shift; set -- $(echo $2); local list=1 r=r;;
489489
--query) fasd "$@";;
490-
--version) echo "0.5.1"; return 0;;
490+
--version) echo "0.5.2"; return 0;;
491491
--) while [ "$2" ]; do shift; fnd="$fnd$1 "; last="$1"; done;;
492492
-*) local o="${1#-}"; while [ "$o" ]; do case "$o" in
493493
s*) local show=1;;

0 commit comments

Comments
 (0)