Browse Source

Cleanup; Add bloat installer

master
jcmdln 5 years ago
parent
commit
0ad2ef21f7
  1. 15
      etc/profile
  2. 0
      etc/profile.d/alias.sh
  3. 0
      gein
  4. 16
      usr/local/sbin/gein-extras

15
etc/profile

@ -50,3 +50,18 @@ fi @@ -50,3 +50,18 @@ fi
## Cleanup
unset ROOTPATH
unset sh
kernel-rebuild() {
printf "\n\n#####\n### Building Kernel\n#####\n\n" && \
make "-j$(grep -c ^processor /proc/cpuinfo)" && \
printf "\n\n#####\n### Building Kernel Modules\n#####\n\n" && \
make modules && \
printf "\n\n#####\n### Installing Kernel\n#####\n\n" && \
make install && \
printf "\n\n#####\n### Installing Kernel Modules\n#####\n\n" && \
make modules install && \
printf "\n\n#####\n### Generating Grub Config\n#####\n\n" && \
grub-mkconfig -o /boot/grub/grub.cfg && \
printf "\n\n#####\n### Rebuilding Emerged Kernel Modules\n#####\n\n" && \
emerge -aq @module-rebuild
}

0
etc/profile.d/alias.sh

16
usr/local/sbin/gein-extras

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
#!/bin/env sh
#
# /usr/local/sbin/gein-extras
#
read -ep "Install gein-extras? [Yes/No]: " Install && \
if $Install | grep -iq "^n"; then exit; fi
Base_URL="https://raw.githubusercontent.com/jcmdln/gein/master"
wget $Base_URL/etc/emacs/default.el -O /etc/emacs/default.el
wget $Base_URL/etc/profile -O /etc/sudoers
wget $Base_URL/etc/profile.d/alias -O /etc/profile.d/alias
wget $Base_URL/etc/sudoers -O /etc/sudoers
wget $Base_URL/etc/tmux.conf -O /etc/tmux.conf
wget $Base_URL/etc/vimrc -O /etc/vimrc
Loading…
Cancel
Save