Browse Source

Cleanup; Add bloat installer

master
jcmdln 2 years ago
parent
commit
0ad2ef21f7
4 changed files with 31 additions and 0 deletions
  1. 15
    0
      etc/profile
  2. 0
    0
      etc/profile.d/alias.sh
  3. 0
    0
      gein
  4. 16
    0
      usr/local/sbin/gein-extras

+ 15
- 0
etc/profile View File

@@ -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
- 0
etc/profile.d/alias.sh View File


+ 0
- 0
gein View File


+ 16
- 0
usr/local/sbin/gein-extras View File

@@ -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