Browse Source

Cleanup pass

master
jcmdln 5 years ago
parent
commit
f4fea68fa1
  1. 28
      etc/profile.d/gein.sh
  2. 8
      gein
  3. 17
      usr/local/sbin/gein-extras

28
etc/profile.d/gein.sh

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
#!/bin/env sh
gein-extras() {
read -ep "Install gein-extras? [Yes/No]: " Install
if $Install | grep -iq "^n"; then exit; fi
Wget="wget -q"
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.sh -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
unset Wget
unset Base_URL
}
gein-update() {
emerge --sync
emerge -av -uDN @system
emerge -av -uDN @world
emerge -av depclean
revdep-rebuild -av
}

8
gein

@ -198,6 +198,14 @@ Laptop() { @@ -198,6 +198,14 @@ Laptop() {
}
Server() {
$Emerge www-servers/nginx \
sys-cluster/corosync \
sys-cluster/kubectl \
app-emulation/rkt
}
Media() {
$Emerge app-shells/zsh \
app-shells/zsh-completions \

17
usr/local/sbin/gein-extras

@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
#!/bin/env sh
read -ep "Install gein-extras? [Yes/No]: " Install && \
if $Install | grep -iq "^n"; then exit; fi
Wget="wget -q"
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.sh -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
unset Wget
unset Base_URL
Loading…
Cancel
Save