Skip to content

Commit

Permalink
Test bash normal without pureline
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Oct 10, 2023
1 parent 07f6b0c commit 112ee2e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions usr/bin/biglinux-change-default-shell
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ bash_power() {
backup_and_copy "/usr/share/biglinux/bash-config/pureline.conf" "$HOME/.pureline.conf"
backup_and_copy "/usr/share/biglinux/bash-config/KonsoleBash.profile" "$HOME/.local/share/konsole/Bash.profile"
sed -i 's|DefaultProfile=.*|DefaultProfile=Bash.profile|g' "$HOME/.config/konsolerc"
rm -f "$HOME/.bash-disable-blesh"
rm -f "$HOME/.bash-disable-colors"
rm -f "$HOME/.bash-normal"
kwriteconfig5 --file ~/.config/dolphinrc --group "Desktop Entry" --key DefaultProfile Bash.profile
}

Expand All @@ -39,8 +38,7 @@ elif [[ "$1" = "bash-normal" ]]; then
if [[ ! -e "$HOME/.blerc" ]]; then
bash_power
fi
echo 1 > "$HOME/.bash-disable-blesh"
echo 1 > "$HOME/.bash-disable-colors"
echo 1 > "$HOME/.bash-normal"
elif [[ "$1" = "zsh" ]]; then
sed -i 's|DefaultProfile=.*|DefaultProfile=Zsh.profile|g' "$HOME/.config/konsolerc"
kwriteconfig5 --file ~/.config/dolphinrc --group "Desktop Entry" --key DefaultProfile Zsh.profile
Expand Down

0 comments on commit 112ee2e

Please sign in to comment.