zoxide: fix curl link

This commit is contained in:
FollieHiyuki 2021-03-26 17:28:09 +03:00
parent d25148c40f
commit 1594158324
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
9 changed files with 3 additions and 9 deletions

View File

@ -659,7 +659,6 @@ fi
# if command -v ranger >/dev/null; then
# if [ ! -f "$HOME/.config/ranger/plugins/ranger_zlua.py" ]; then
# curl -fLo $HOME/.config/ranger/plugins/ranger_zlua.py https://github.com/skywind3000/z.lua/raw/master/ranger_zlua.py
# chmod 755 $HOME/.config/ranger/plugins/ranger_zlua.py
# fi
# fi
# alias zz='z -c' # restrict matches to subdirs of $PWD
@ -672,8 +671,7 @@ if command -v zoxide >/dev/null; then
eval "$(zoxide init bash)"
if command -v ranger >/dev/null; then
if [ ! -f "$HOME/.config/ranger/plugins/ranger_zoxide.py" ]; then
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/master/contrib/ranger.py
chmod 755 $HOME/.config/ranger/plugins/ranger_zoxide.py
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/main/contrib/ranger.py
fi
fi
fi

View File

@ -67,7 +67,6 @@ fzf_key_bindings
# if command -v ranger >/dev/null
# if not test -f "$HOME/.config/ranger/plugins/ranger_zlua.py"
# curl -fLo $HOME/.config/ranger/plugins/ranger_zlua.py https://github.com/skywind3000/z.lua/raw/master/ranger_zlua.py
# chmod 755 $HOME/.config/ranger/plugins/ranger_zlua.py
# end
# end
# alias zc='z -c' # restrict matches to subdirs of $PWD
@ -82,8 +81,7 @@ if command -v zoxide >/dev/null
zoxide init fish | source
if command -v ranger >/dev/null
if not test -f "$HOME/.config/ranger/plugins/ranger_zoxide.py"
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/master/contrib/ranger.py
chmod 755 $HOME/.config/ranger/plugins/ranger_zoxide.py
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/main/contrib/ranger.py
end
end
end

0
home/.config/ranger/commands.py Executable file → Normal file
View File

0
home/.config/ranger/plugins/compress.py Executable file → Normal file
View File

0
home/.config/ranger/plugins/extract.py Executable file → Normal file
View File

0
home/.config/ranger/plugins/fzf-marks/__init__.py Executable file → Normal file
View File

0
home/.config/ranger/plugins/fzf-marks/fzf_marks.py Executable file → Normal file
View File

0
home/.config/ranger/plugins/ranger_lame.py Executable file → Normal file
View File

View File

@ -45,8 +45,7 @@ if command -v zoxide >/dev/null; then
eval "$(zoxide init zsh)"
if command -v ranger >/dev/null; then
if [ ! -f "$HOME/.config/ranger/plugins/ranger_zoxide.py" ]; then
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/master/contrib/ranger.py
chmod 755 $HOME/.config/ranger/plugins/ranger_zoxide.py
curl -fLo $HOME/.config/ranger/plugins/ranger_zoxide.py https://github.com/ajeetdsouza/zoxide/raw/main/contrib/ranger.py
fi
fi
fi
@ -166,7 +165,6 @@ zinit light olets/zsh-abbr
# if command -v ranger >/dev/null; then
# if [ ! -f "$HOME/.config/ranger/plugins/ranger_zlua.py" ]; then
# curl -fLo $HOME/.config/ranger/plugins/ranger_zlua.py https://github.com/skywind3000/z.lua/raw/master/ranger_zlua.py
# chmod 755 $HOME/.config/ranger/plugins/ranger_zlua.py
# fi
# fi