update external packages
This commit is contained in:
parent
149376aca6
commit
d791d44287
2 changed files with 16 additions and 7 deletions
2
udeps.sh
2
udeps.sh
|
@ -55,4 +55,4 @@ fi
|
||||||
dpkg_url http://mirrors.kernel.org/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-5_amd64.deb
|
dpkg_url http://mirrors.kernel.org/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-5_amd64.deb
|
||||||
dpkg_url https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_amd64.deb
|
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/ClementTsang/bottom/releases/download/0.6.3/bottom_0.6.3_amd64.deb
|
||||||
#https://github.com/dandavison/delta/releases/download/0.8.0/delta-0.8.0-x86_64-unknown-linux-gnu.tar.gz
|
dpkg_url https://github.com/dandavison/delta/releases/download/0.8.3/git-delta_0.8.3_amd64.deb
|
||||||
|
|
21
update.zsh
21
update.zsh
|
@ -1,8 +1,17 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
#delete current zsh config
|
#Update external packages
|
||||||
ln -s ~/stevset/prezto/.zprezto ~/.zprezto
|
|
||||||
./udeps.sh
|
|
||||||
./prezto.zsh
|
|
||||||
|
|
||||||
#Tmux Theme
|
function dpkg_url() {
|
||||||
git clone https://github.com/wfxr/tmux-power.git "$HOME/stevset/tmux/t-theme"
|
local tmp_deb="$(mktemp)"
|
||||||
|
local src_url=$1
|
||||||
|
local args=${@:2}
|
||||||
|
|
||||||
|
wget -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 http://mirrors.kernel.org/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-5_amd64.deb
|
||||||
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue