Skip to content

Commit

Permalink
upd(exec): #14 - filename
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-delaloy committed Jul 12, 2022
1 parent 691cf6d commit 61b311d
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions exec/apt/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

_apt_secure_install_from_array_ "${_apt_packages_[@]}"
GOELAND_apt_packages_install "${GOELAND_apt_packages[@]}"

ui_done
2 changes: 1 addition & 1 deletion exec/apt/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_a=(sudo apt update -y)
Expand Down
4 changes: 2 additions & 2 deletions exec/brew/formulaes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

_brew_secure_install_from_array_ "${_brew_formulaes_[@]}"
GOELAND_brew_formulaes_install "${GOELAND_brew_formulaes[@]}"

ui_done
2 changes: 1 addition & 1 deletion exec/brew/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_install=(NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
Expand Down
2 changes: 1 addition & 1 deletion exec/clis/docker/compose.v1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_a=(sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose)
Expand Down
2 changes: 1 addition & 1 deletion exec/clis/docker/compose.v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_a=(mkdir -p "$HOME"/.docker/cli-plugins/)
Expand Down
2 changes: 1 addition & 1 deletion exec/clis/docker/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_a="curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
Expand Down
4 changes: 2 additions & 2 deletions exec/clis/k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

_brew_secure_install_from_array_ "${_brew_k8s_[@]}"
GOELAND_brew_formulaes_install "${GOELAND_brew_k8s_formulaes[@]}"

ui_done
2 changes: 1 addition & 1 deletion exec/dotfiles/rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start
Expand Down
4 changes: 2 additions & 2 deletions exec/dotfiles/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

for i in "${_dotfiles_[@]}"
for i in "${GOELAND_dotfiles[@]}"
do
file="$HOME/.$i"
exec_a=(mv "$HOME"/."$i" "$HOME"/."$i".old)
Expand Down
2 changes: 1 addition & 1 deletion exec/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh

sudo apt update -y

Expand Down
4 changes: 2 additions & 2 deletions exec/snap/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start


_snap_secure_install_from_array_
GOELAND_snap_packages_install

ui_done
2 changes: 1 addition & 1 deletion exec/snap/refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec=(sudo snap refresh)
Expand Down
4 changes: 2 additions & 2 deletions exec/vscode/extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

_vscode_secure_install_from_array_ "${_vscode_extensions_[@]}"
GOELAND_vscode_extensions_install "${GOELAND_vscode_extensions[@]}"

ui_done
2 changes: 1 addition & 1 deletion exec/vscode/settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec_a=(cp "$PWD"/config/files/vscode-settings.json "$HOME"/.config/Code/User/settings.json)
Expand Down
2 changes: 1 addition & 1 deletion exec/zsh/omz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

exec=(sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended)
Expand Down
4 changes: 2 additions & 2 deletions exec/zsh/plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh
source "$PWD"/config/utils.sh

ui_start

sed -i.old "s/^plugins=(git).*/plugins=(\n git\n)$i/g" "$HOME"/.zshrc

for i in "${_omz_plugins_[@]}"
for i in "${GOELAND_omz_plugins[@]}"
do
if [ ! -d "$HOME"/.oh-my-zsh/custom/plugins/"$i" ]; then
exec_a=(git clone https://github.com/zsh-users/"$i".git "$HOME"/.oh-my-zsh/custom/plugins/"$i")
Expand Down
2 changes: 1 addition & 1 deletion exec/zsh/prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=/dev/null
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh
source "$PWD"/config/config.sh


exec_a=(git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" --depth=1)
Expand Down

0 comments on commit 61b311d

Please sign in to comment.