update
This commit is contained in:
10 files changed
+146
-10
No files matched your search
+4
-4
@@ -32,18 +32,18 @@ APT::Install-Suggests "0";" | tee /etc/apt/apt.conf.d/01norecommend >/dev/null
|
||||
|
||||
git -C /tmp clone https://git.tink.ltd:8443/tink/zsh-completions.git
|
||||
cp /tmp/zsh-completions/src/* /usr/local/share/zsh/site-functions/
|
||||
rm /tmp/zsh-completions -r
|
||||
rm /tmp/zsh-completions -rf
|
||||
}
|
||||
|
||||
personalize() {
|
||||
mkdir -p $HOME/.config/fd
|
||||
cp "$AWD/assets/root/.config" $HOME/ -r
|
||||
cp "$AWD/assets/root/.zshrc" $HOME/
|
||||
if ((DISTRO_PVE)); then
|
||||
sed -i -E "s/.*prompt .*/prompt bart/g" $HOME/.zshrc
|
||||
fi
|
||||
mkdir -p $HOME/.config/micro
|
||||
cp "$AWD/assets/root/.config/micro/settings.json" $HOME/.config/micro/
|
||||
if [[ -x $(command -v zoxide) && $(zoxide --version) =~ '0.4' ]]; then
|
||||
sed -i -E "s/.*zoxide init.*/eval \"\$(zoxide init zsh)\"/g" $HOME/.zshrc
|
||||
fi
|
||||
}
|
||||
|
||||
usage(){
|
||||
|
||||
Reference in new issue
Block a user