Skip to content
Snippets Groups Projects
Commit e54a7c62 authored by Nikolaos Kakouros's avatar Nikolaos Kakouros
Browse files

fixes

parent 889a8e58
Branches
No related tags found
No related merge requests found
...@@ -208,7 +208,6 @@ function core_bootstrap() { ...@@ -208,7 +208,6 @@ function core_bootstrap() {
core_parse_project_config core_parse_project_config
core_bootstrap_git_collab core_bootstrap_git_collab
# core_bootstrap_git_hooks # core_bootstrap_git_hooks
core_bootstrap_git_branches
core_bootstrap_install_dependencies core_bootstrap_install_dependencies
core_bootstrap_install_command core_bootstrap_install_command
core_bootstrap_git_lay core_bootstrap_git_lay
......
#!/usr/bin/env bash #!/usr/bin/env bash
distro_pacman="${distro_pacman:-sudo pacman -S --noconfirm}" if which yaourt &>/dev/null; then
distro_pacman="${distro_pacman:-yaourt -S --noconfirm}"
distro_update_cmd="${distro_update_cmd:-yaourt -Syyuu --aur --noconfirm --devel}"
elif which paru &>/dev/null; then
distro_pacman="${distro_pacman:-paru -S --noconfirm}"
distro_update_cmd="${distro_pacman:-paru -Syyuu --noconfirm}"
else
distro_pacman="${distro_pacman:-sudo pacman -S --noconfirm}"
distro_update_cmd="${distro_update_cmd:-sudo pacman -Syyuu --noconfirm}"
fi
distro_packages+=( distro_packages+=(
"python" "python"
......
...@@ -154,7 +154,7 @@ function get_completions() { ...@@ -154,7 +154,7 @@ function get_completions() {
} }
}' <<<"$help" }' <<<"$help"
)" )"
c=("${c[@]%[[:space:]]}") c=(" ${c[@]%[[:space:]]} ")
if [[ "${#rest[@]}" -gt 0 ]]; then if [[ "${#rest[@]}" -gt 0 ]]; then
unset "rest[-1]" unset "rest[-1]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment