File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,23 @@ cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -Rf Configs/H
33
33
sudo cp -Rf Configs/System/. / && sudo cp -Rf Configs/Home/. /root/
34
34
sleep 2
35
35
echo
36
+ echo " Adding Fastfetch to .bashrc"
37
+ echo
38
+ # Check if the line exists in ~/.bashrc, if not add it
39
+ if ! grep -Fxq ' fastfetch' " $HOME /.bashrc" ; then
40
+ echo ' ' >> " $HOME /.bashrc"
41
+ echo ' fastfetch' >> " $HOME /.bashrc"
42
+ fi
43
+ sleep 2
44
+ echo
36
45
echo " Applying OhMy-Posh to Bash"
37
46
echo
38
47
# Check if the folder exists, if not create it and download the file
39
48
if [ ! -d " $HOME /.config/ohmyposh" ]; then
40
49
mkdir -p " $HOME /.config/ohmyposh"
41
50
fi
42
51
curl -o " $HOME /.config/ohmyposh/tokyonight_storm.omp.json" https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/tokyonight_storm.omp.json
43
-
52
+ sleep 2
44
53
# Check if the line exists in ~/.bashrc, if not add it
45
54
if ! grep -Fxq ' eval "$(oh-my-posh init bash --config $HOME/.config/ohmyposh/tokyonight_storm.omp.json)"' " $HOME /.bashrc" ; then
46
55
echo ' ' >> " $HOME /.bashrc"
You can’t perform that action at this time.
0 commit comments