Clean up bashrc
All checks were successful
ShellCheck / shellcheck (push) Successful in 38s

This commit is contained in:
Mathieu Strypsteen 2024-05-31 20:50:56 +02:00
parent 7adaf34c1c
commit 121b1011a2
Signed by: mathieu
GPG key ID: 782A42E461BC6824
5 changed files with 11 additions and 21 deletions

View file

@ -1,15 +0,0 @@
#!/bin/bash
# shellcheck disable=1091
mesg n
. /etc/environment
export VIMINIT
unset HISTFILE
export LESSHISTFILE=-
if [[ $- != *i* ]]; then
return
fi
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
fi
alias ls="ls --color=auto"
alias grep="grep --color=auto"

View file

@ -1,2 +0,0 @@
EDITOR=vi
VIMINIT="set whichwrap=<>[]"

View file

@ -0,0 +1,9 @@
#!/bin/sh
mesg n
unset HISTFILE
export LESSHISTFILE=-
if [ -f /usr/bin/vim ]; then
export EDITOR=vim
else
export EDITOR=vi
fi

View file

@ -1,5 +1,3 @@
EDITOR=vim
VIMINIT="set whichwrap=<>[]"
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

View file

@ -2,7 +2,7 @@
set -e
cp -R desktop/* qubes-fedora/* /
dnf config-manager --set-enabled qubes-vm-r4.2-security-testing qubes-vm-r4.2-current-testing rpmfusion-free rpmfusion-free-updates
dnf install --allowerasing bash-completion bind-utils butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gcc gcc-gdb-plugin gjs glibc-all-langpacks helm htop hunspell-* imv kubernetes-client libreoffice mpv nautilus netcat nodejs-npm pipx qubes-ctap ShellCheck toolbox wireguard-tools whois xdg-desktop-portal-gtk yt-dlp
dnf remove cheese evolution-data-server gnome-software gnome-weather rpmfusion-nonfree-release thunderbird totem
dnf install --allowerasing bash-color-prompt bash-completion bind-utils butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gcc gcc-gdb-plugin gjs glibc-all-langpacks helm htop hunspell-* imv kubernetes-client libreoffice mpv nautilus netcat nodejs-npm pipx qubes-ctap ShellCheck toolbox wireguard-tools whois xdg-desktop-portal-gtk yt-dlp
dnf remove cheese evolution-data-server gnome-software gnome-weather PackageKit-command-not-found rpmfusion-nonfree-release thunderbird totem
sh setup-desktop.sh
ln -sf /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/* /etc/firefox