From 36aef3ad1376a068485362cade76d4ee490c6cd2 Mon Sep 17 00:00:00 2001 From: mitchell Date: Tue, 18 Jan 2022 13:04:55 -0500 Subject: [PATCH] Remove function prefixes in provision_linux --- provision_linux | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/provision_linux b/provision_linux index 27426b5..76a8a4e 100755 --- a/provision_linux +++ b/provision_linux @@ -13,7 +13,6 @@ Run ./provision_linux to see it\'s definition. ### Config ### -set -g cmd_func_prefix provision set -g distro for line in (cat /etc/os-release) @@ -26,13 +25,7 @@ end ### Commands ### -function provision_default -d 'Provisioning terminal, desktop, and m-net' - provision_terminal_env - and provision_desktop_env - and provision_m_net -end - -function provision_terminal_env -d 'Install base terminal utilities and sync configurations' +function terminal_env -d 'Install base terminal utilities and sync configurations' if test $distro = arch log 'Installing pikaur from AUR' @@ -87,7 +80,7 @@ function provision_terminal_env -d 'Install base terminal utilities and sync con and git checkout (git describe --abbrev=0 --tags) end -function provision_desktop_env -d 'Install base desktop utilities and configure theme' +function desktop_env -d 'Install base desktop utilities and configure theme' set -l base_pkgs \ xclip \ bspwm \ @@ -200,7 +193,7 @@ gtk-theme-name = oomox-arc-gruvbox gtk-font-name = IBM Plex Sans 11" >~/.config/gtk-3.0/settings.ini end -function provision_m_net -d 'Install syncthing and keepassxc' +function m_net -d 'Install syncthing and keepassxc' log 'Installing m-net utilities' install_pkgs \ wireguard-tools \ @@ -212,12 +205,12 @@ function provision_m_net -d 'Install syncthing and keepassxc' sudo systemctl enable syncthing@m.service end -function provision_libvirt -d 'Provision libvirt and virt-manager' +function libvirt -d 'Provision libvirt and virt-manager' log 'Installing libvirt, qemu, and virt-manager' install_libvirt end -function provision_vagrant -d 'Provision vagrant with libvirt' +function vagrant -d 'Provision vagrant with libvirt' install_libvirt or return $status