Incorporate changes from Pop OS 22.04 install
This commit is contained in:
parent
ba28762983
commit
f08c01d886
11 changed files with 153 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ cd $HOME
|
|||
|
||||
# Get the latest ~/.dotfiles, possibly replacing the old ones
|
||||
rm -rf "$HOME/.dotfiles" >/dev/null
|
||||
git clone --bare https://git.webartifex.biz/alexander/dotfiles.git "$HOME/.dotfiles"
|
||||
git clone --bare https://code.webartifex.biz/alexander/dotfiles.git "$HOME/.dotfiles"
|
||||
|
||||
# Distribute the dotfiles in $HOME
|
||||
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout --force
|
||||
|
|
@ -24,7 +24,7 @@ if _command_exists zsh; then
|
|||
export ZSH="$HOME/.oh-my-zsh"
|
||||
rm -rf $ZSH >/dev/null
|
||||
# Let's NOT use the main repository but our personal fork
|
||||
git clone --origin fork --branch forked https://git.webartifex.biz/alexander/oh-my-zsh.git $ZSH
|
||||
git clone --origin fork --branch forked https://code.webartifex.biz/alexander/oh-my-zsh.git $ZSH
|
||||
cd $ZSH
|
||||
git remote add origin https://github.com/ohmyzsh/ohmyzsh.git
|
||||
cd $HOME
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ _update_apt() {
|
|||
|
||||
echo 'Updating apt packages'
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
sudo apt dist-upgrade
|
||||
sudo apt autoremove
|
||||
sudo apt autoclean
|
||||
sudo apt clean
|
||||
}
|
||||
|
||||
_update_dnf() {
|
||||
|
|
@ -97,9 +97,9 @@ _update_omz_fork() {
|
|||
git checkout --quiet forked # most likely already the case
|
||||
|
||||
# Keep our personal "oh-my-zsh" fork up-to-date
|
||||
# See: https://gitlab.webartifex.biz/alexander/oh-my-zsh
|
||||
# See: https://code.webartifex.biz/alexander/oh-my-zsh
|
||||
git rebase --quiet master
|
||||
git push --quiet fork forked
|
||||
git push --quiet fork forked --force
|
||||
git push --quiet fork master
|
||||
|
||||
cd $cwd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue