mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-11-12 04:31:45 +00:00
Set up starship prompt from install scripts
This commit is contained in:
parent
cb58a234ce
commit
bbb8e9f79d
2 changed files with 7 additions and 5 deletions
|
|
@ -54,13 +54,14 @@ systemctl enable \
|
||||||
NetworkManager.service smtpd.service
|
NetworkManager.service smtpd.service
|
||||||
systemctl mask systemd-networkd.service # We have NetworkManager for this
|
systemctl mask systemd-networkd.service # We have NetworkManager for this
|
||||||
|
|
||||||
# Install ZSH shell
|
# Install ZSH shell & starship prompt
|
||||||
pacman -S --noconfirm --needed zsh
|
pacman -S --noconfirm --needed zsh starship
|
||||||
cp -ra home/.config/shell ~/.config
|
cp -ra home/.config/shell ~/.config
|
||||||
rm -rf ~/.config/zsh/ || true # in case there is already some zsh config
|
rm -rf ~/.config/zsh/ || true # in case there is already some zsh config
|
||||||
cp -ra home/.config/zsh ~/.config
|
cp -ra home/.config/zsh ~/.config
|
||||||
rm -rf ~/.config/zsh/.zgenom
|
rm -rf ~/.config/zsh/.zgenom
|
||||||
git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
||||||
|
cp home/.config/starship.toml ~/.config
|
||||||
chsh -s /usr/bin/zsh root
|
chsh -s /usr/bin/zsh root
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
||||||
|
|
@ -70,13 +70,13 @@ paru --gendb
|
||||||
mkdir -p ~/.config
|
mkdir -p ~/.config
|
||||||
mkdir -p ~/.local/{share,state,bin}
|
mkdir -p ~/.local/{share,state,bin}
|
||||||
|
|
||||||
# Copy over zsh configuration
|
# Copy over zsh & starship configuration
|
||||||
#
|
#
|
||||||
# Note that this assumes you've ran install_root.sh, whcih created /etc/zsh/zshenv
|
# Note that this assumes you've ran install_root.sh, which created /etc/zsh/zshenv
|
||||||
# with $ZOOTDIR exported. If you haven't done that, you'll want to copy it over from
|
# with $ZOOTDIR exported. If you haven't done that, you'll want to copy it over from
|
||||||
# my dotfiles. If you can't (don't have root rights), it's also possible to use ~/.zshenv,
|
# my dotfiles. If you can't (don't have root rights), it's also possible to use ~/.zshenv,
|
||||||
# which you can symlink to ~/.config/zsh/.zshenv.
|
# which you can symlink to ~/.config/zsh/.zshenv.
|
||||||
pacman -S --noconfirm --needed zsh
|
pacman -S --noconfirm --needed zsh starship
|
||||||
cp -ra home/.config/shell ~/.config
|
cp -ra home/.config/shell ~/.config
|
||||||
rm -rf ~/.config/zsh/ || true # in case there is already some zsh config
|
rm -rf ~/.config/zsh/ || true # in case there is already some zsh config
|
||||||
cp -ra home/.config/zsh ~/.config
|
cp -ra home/.config/zsh ~/.config
|
||||||
|
|
@ -84,6 +84,7 @@ rm -rf ~/.config/zsh/.zgenom
|
||||||
git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
||||||
mkdir -p ~/.cache/zsh
|
mkdir -p ~/.cache/zsh
|
||||||
touch ~/.cache/zsh/history
|
touch ~/.cache/zsh/history
|
||||||
|
cp home/.config/starship.toml ~/.config
|
||||||
chsh -s /usr/bin/zsh "$USER"
|
chsh -s /usr/bin/zsh "$USER"
|
||||||
|
|
||||||
# GnuPG
|
# GnuPG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue