mirror of https://github.com/jcmdln/gein
3 changed files with 36 additions and 17 deletions
@ -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 |
||||
} |
@ -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…
Reference in new issue