mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
set permission 0755 to _j in install.sh
This commit is contained in:
parent
1ab78ae91c
commit
297f7927de
@ -172,7 +172,7 @@ if [ ! ${local} ]; then
|
||||
success=
|
||||
fpath=`/usr/bin/env zsh -c 'echo $fpath'`
|
||||
for f in ${fpath}; do
|
||||
cp -v ./bin/_j ${f} && success=true && break
|
||||
install -v -m 0755 ./bin/_j ${f} && success=true && break
|
||||
done
|
||||
|
||||
if [ ! ${success} ]; then
|
||||
@ -197,7 +197,7 @@ else # local installation
|
||||
|
||||
if [ ${shell} == "zsh" ]; then
|
||||
mkdir -p ${prefix}/functions/
|
||||
cp ./bin/_j ${prefix}/functions/
|
||||
install -v -m 0755 ./bin/_j ${prefix}/functions/
|
||||
fi
|
||||
|
||||
add_msg "local" ${shell}
|
||||
|
Loading…
Reference in New Issue
Block a user