From 74944dfcd512ba1cf1b5a60c6cf9d8cae0d79b09 Mon Sep 17 00:00:00 2001 From: Stephen Card Date: Tue, 25 Jan 2022 23:33:53 -0500 Subject: [PATCH] link spacevim init.toml --- update.zsh | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/update.zsh b/update.zsh index 9ee0790..ec9b28b 100755 --- a/update.zsh +++ b/update.zsh @@ -1,20 +1,3 @@ #!/bin/zsh -#Update external packages - -function dpkg_url() { - local tmp_deb="$(mktemp)" - local src_url=$1 - local args=${@:2} - - wget -q --show-progress -O $tmp_deb $src_url && - sudo dpkg -i $tmp_deb $args && - { rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file - { rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway -} -dpkg_url https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_amd64.deb -dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.6.3/bottom_0.6.3_amd64.deb -dpkg_url https://github.com/dandavison/delta/releases/download/0.8.3/git-delta_0.8.3_amd64.deb - -#Link new bottom config -rm ~/.config/bottom/bottom.toml -ln -s ~/stevset/config/bottom/bottom.toml ~/.config/bottom +rm ~/.SpaceVim.d/init.toml +ln -s ~/stevset/vim/.SpaceVim.d/init.toml ~/.SpaceVim.d/init.toml