Browse Source

Cleanup pass

master
jcmdln 2 years ago
parent
commit
f4fea68fa1
3 changed files with 36 additions and 17 deletions
  1. 28
    0
      etc/profile.d/gein.sh
  2. 8
    0
      gein
  3. 0
    17
      usr/local/sbin/gein-extras

+ 28
- 0
etc/profile.d/gein.sh View File

@@ -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
- 0
gein View File

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

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

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