mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-24 16:28:22 -05:00
zoxide: move ranger.py to deploy.sh
This commit is contained in:
parent
33f9026493
commit
c33b27332c
@ -143,6 +143,7 @@ echo "
|
||||
[ -d ~/.config/emacs-config/doom ] || git clone https://github.com/hlissner/doom-emacs ~/.config/emacs-config/doom
|
||||
[ -d ~/.config/tmux/plugins/tpm ] || git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
||||
[ -d ~/.config/ranger/plugins/ranger_devicons ] || git clone https://github.com/FollieHiyuki/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
|
||||
[ -d ~/.config/ranger/plugins/ranger-zoxide ] || git clone https://github.com/jchook/ranger-zoxide ~/.config/ranger/plugins/ranger-zoxide
|
||||
|
||||
echo "
|
||||
~~~ Post deployment ~~~
|
||||
|
@ -629,11 +629,6 @@ fi
|
||||
# zoxide
|
||||
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/main/contrib/ranger.py
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# autostart gpg-agent at login
|
||||
|
@ -19,7 +19,9 @@ set -gx XDG_CONFIG_HOME $HOME/.config
|
||||
set -gx XDG_CACHE_HOME $HOME/.cache
|
||||
set -gx XDG_DATA_HOME $HOME/.local/share
|
||||
set -gx XDG_DATA_DIRS $HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
|
||||
set -gx XDG_RUNTIME_DIR /tmp/fish.$USER
|
||||
if not command -v loginctl >/dev/null
|
||||
set -gx XDG_RUNTIME_DIR /tmp/fish.$USER
|
||||
end
|
||||
# alternate paths
|
||||
set -gx LESSHISTFILE -
|
||||
set -gx MOST_INITFILE $XDG_CONFIG_HOME/mostrc
|
||||
|
@ -80,9 +80,4 @@ fzf_key_bindings
|
||||
# zoxide
|
||||
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/main/contrib/ranger.py
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -43,11 +43,6 @@ fi
|
||||
# zoxide
|
||||
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/main/contrib/ranger.py
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# poetry
|
||||
|
Loading…
Reference in New Issue
Block a user