Update autoinstall stuff
This commit is contained in:
parent
f38ec68822
commit
3b16b3440e
6 changed files with 57 additions and 33 deletions
2
.bin/.e
2
.bin/.e
|
@ -5,7 +5,7 @@ declare -A mapper=(
|
||||||
[".t"]="$HOME/.bin/.t"
|
[".t"]="$HOME/.bin/.t"
|
||||||
["alacritty"]="$HOME/.config/alacritty/alacritty.toml"
|
["alacritty"]="$HOME/.config/alacritty/alacritty.toml"
|
||||||
["astronvim"]="$HOME/.config/astronvim/lua/user/init.lua"
|
["astronvim"]="$HOME/.config/astronvim/lua/user/init.lua"
|
||||||
["autostart"]="$HOME/.bin/autostart-manage"
|
["autoinstall.toml"]="$HOME/.config/autoinstall.toml"
|
||||||
["autostart.toml"]="$HOME/.config/autostart.toml"
|
["autostart.toml"]="$HOME/.config/autostart.toml"
|
||||||
["bash"]="$HOME/.bashrc"
|
["bash"]="$HOME/.bashrc"
|
||||||
["bspwm"]="$HOME/.config/bspwm/bspwmrc"
|
["bspwm"]="$HOME/.config/bspwm/bspwmrc"
|
||||||
|
|
|
@ -38,6 +38,48 @@ target = "eza"
|
||||||
pipe = "tar xzO"
|
pipe = "tar xzO"
|
||||||
group = "base"
|
group = "base"
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "exe"
|
||||||
|
source = "https://git.serguzim.me/serguzim/tools/releases/download/latest/autostart-manage"
|
||||||
|
target = "autostart-manage"
|
||||||
|
group = "base"
|
||||||
|
completions = "completions"
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "exe"
|
||||||
|
source = "https://git.serguzim.me/serguzim/tools/releases/download/latest/autoinstall"
|
||||||
|
target = "autoinstall"
|
||||||
|
group = "base"
|
||||||
|
completions = "completions"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "git"
|
||||||
|
source = "https://github.com/zsh-users/zsh-syntax-highlighting.git"
|
||||||
|
target = "${plugin_path:?}/zsh-syntax-highlighting"
|
||||||
|
group = "oh-my-zsh"
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "git"
|
||||||
|
source = "https://github.com/spwhitt/nix-zsh-completions.git"
|
||||||
|
target = "${plugin_path:?}/nix-zsh-completions"
|
||||||
|
group = "oh-my-zsh"
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "git"
|
||||||
|
source = "https://github.com/chisui/zsh-nix-shell.git"
|
||||||
|
target = "${plugin_path:?}/nix-shell"
|
||||||
|
group = "oh-my-zsh"
|
||||||
|
|
||||||
|
[[autoinstall]]
|
||||||
|
type = "file"
|
||||||
|
source = "https://gist.githubusercontent.com/oshybystyi/475ee7768efc03727f21/raw/4bfd57ef277f5166f3070f11800548b95a501a19/git-auto-status.plugin.zsh"
|
||||||
|
target = "${plugin_path:?}/git-auto-status/git-auto-status.plugin.zsh"
|
||||||
|
group = "oh-my-zsh"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[autoinstall]]
|
[[autoinstall]]
|
||||||
type = "file"
|
type = "file"
|
||||||
source = "https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml"
|
source = "https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml"
|
||||||
|
@ -76,6 +118,8 @@ target = "jetbrains-toolbox"
|
||||||
pipe = "tar xzO"
|
pipe = "tar xzO"
|
||||||
group = "graphical"
|
group = "graphical"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[autoinstall]]
|
[[autoinstall]]
|
||||||
type = "text"
|
type = "text"
|
||||||
source = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCkmWZmum4cVeDy5+9N1HdUzfnjEHSJ900ucD8F0wAy4MV1cdPYnZ4u5PFv5XMfmvA9SJ+VFsr0lhYlr+GQBG9aCCAdMJVVmEz3SccT6dp6ZYywT158RNshzfCe9ylWKK80+W7XnDXhdkec7aK+BQn5wOER3A3mUqRR0JDXWga9jyakH1K6OwXmQOO419bJWs2uCT1ZEgndHxKJEt2pEvoSz7z8p1SS2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o1+tfREAddUJYR4RvB6g0kCyjpwOf1Pt4zhJR3y/zpsCCc5UnzK9X2kEo/8TSyvTr+GBiFVp5yLYgwCPJSNna33YX7+c3oLRM1QGgtqZk9qnGX9hgP8qpF8Akw== openpgp:0xAB920993"
|
||||||
|
|
|
@ -30,21 +30,12 @@ _dott_completions()
|
||||||
}
|
}
|
||||||
complete -F _dott_completions ".t"
|
complete -F _dott_completions ".t"
|
||||||
|
|
||||||
#_autostart_manage_completions()
|
completions_dir="$XDG_CONFIG_HOME/completionsrc.d/"
|
||||||
#{
|
if [ -n "$(ls "$completions_dir" 2>/dev/null)" ]
|
||||||
# if [ "${#COMP_WORDS[@]}" == "2" ]; then
|
then
|
||||||
# return
|
for additional_completions in "$completions_dir"*
|
||||||
# fi
|
do
|
||||||
#
|
|
||||||
# COMPREPLY=()
|
|
||||||
# while IFS='' read -r line
|
|
||||||
# do
|
|
||||||
# COMPREPLY+=("$line")
|
|
||||||
# done < <(compgen -W "$(autostart-manage list)" "${COMP_WORDS[1]}")
|
|
||||||
#}
|
|
||||||
#complete -F _autostart_manage_completions "autostart-manage"
|
|
||||||
|
|
||||||
for additional_completions in "$XDG_CONFIG_HOME/completionsrc.d/"*; do
|
|
||||||
# shellcheck disable=1090
|
# shellcheck disable=1090
|
||||||
. "$additional_completions"
|
. "$additional_completions"
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
echo "Running post pull script..."
|
echo "Running post pull script..."
|
||||||
|
|
||||||
autoinstall base
|
autoinstall run base
|
||||||
|
|
|
@ -62,19 +62,8 @@ HIST_STAMPS="yyyy-mm-dd"
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
ZSH_CUSTOM=$ZDOTDIR/custom
|
ZSH_CUSTOM=$ZDOTDIR/custom
|
||||||
|
|
||||||
plugin_path="$ZSH_CUSTOM/plugins"
|
export plugin_path="$ZSH_CUSTOM/plugins"
|
||||||
autoinstall git \
|
autoinstall run oh-my-zsh
|
||||||
"https://github.com/zsh-users/zsh-syntax-highlighting.git" \
|
|
||||||
"$plugin_path/zsh-syntax-highlighting"
|
|
||||||
autoinstall git \
|
|
||||||
"https://github.com/spwhitt/nix-zsh-completions.git" \
|
|
||||||
"$plugin_path/nix-zsh-completions"
|
|
||||||
autoinstall git \
|
|
||||||
"https://github.com/chisui/zsh-nix-shell.git" \
|
|
||||||
"$plugin_path/nix-shell"
|
|
||||||
autoinstall file \
|
|
||||||
"https://gist.githubusercontent.com/oshybystyi/475ee7768efc03727f21/raw/4bfd57ef277f5166f3070f11800548b95a501a19/git-auto-status.plugin.zsh" \
|
|
||||||
"$plugin_path/git-auto-status/git-auto-status.plugin.zsh"
|
|
||||||
|
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue