From 89fadd6b817dd3997d9a6e273e83ec4feeba11d9 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Fri, 26 Mar 2021 17:28:09 +0300 Subject: [PATCH] zoxide: fix curl link --- home/.bashrc-bloated | 4 +--- home/.config/fish/conf.d/evaluate.fish | 4 +--- home/.config/ranger/commands.py | 0 home/.config/ranger/plugins/compress.py | 0 home/.config/ranger/plugins/extract.py | 0 home/.config/ranger/plugins/fzf-marks/__init__.py | 0 home/.config/ranger/plugins/fzf-marks/fzf_marks.py | 0 home/.config/ranger/plugins/ranger_lame.py | 0 home/.config/zsh/.zshrc | 4 +--- 9 files changed, 3 insertions(+), 9 deletions(-) mode change 100755 => 100644 home/.config/ranger/commands.py mode change 100755 => 100644 home/.config/ranger/plugins/compress.py mode change 100755 => 100644 home/.config/ranger/plugins/extract.py mode change 100755 => 100644 home/.config/ranger/plugins/fzf-marks/__init__.py mode change 100755 => 100644 home/.config/ranger/plugins/fzf-marks/fzf_marks.py mode change 100755 => 100644 home/.config/ranger/plugins/ranger_lame.py diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index 344cd3e..9dfc90b 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -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 diff --git a/home/.config/fish/conf.d/evaluate.fish b/home/.config/fish/conf.d/evaluate.fish index 943f2ca..5fa59bb 100644 --- a/home/.config/fish/conf.d/evaluate.fish +++ b/home/.config/fish/conf.d/evaluate.fish @@ -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 diff --git a/home/.config/ranger/commands.py b/home/.config/ranger/commands.py old mode 100755 new mode 100644 diff --git a/home/.config/ranger/plugins/compress.py b/home/.config/ranger/plugins/compress.py old mode 100755 new mode 100644 diff --git a/home/.config/ranger/plugins/extract.py b/home/.config/ranger/plugins/extract.py old mode 100755 new mode 100644 diff --git a/home/.config/ranger/plugins/fzf-marks/__init__.py b/home/.config/ranger/plugins/fzf-marks/__init__.py old mode 100755 new mode 100644 diff --git a/home/.config/ranger/plugins/fzf-marks/fzf_marks.py b/home/.config/ranger/plugins/fzf-marks/fzf_marks.py old mode 100755 new mode 100644 diff --git a/home/.config/ranger/plugins/ranger_lame.py b/home/.config/ranger/plugins/ranger_lame.py old mode 100755 new mode 100644 diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index 0ea354d..af30560 100644 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -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