Browse Source

Harsh cleanup pass

master
jcmdln 2 years ago
parent
commit
0b6abf72b9
6 changed files with 306 additions and 218 deletions
  1. 236
    156
      etc/emacs/default.el
  2. 0
    15
      etc/profile
  3. 25
    0
      etc/profile.d/kernel.sh
  4. 37
    40
      gein
  5. 3
    5
      usr/local/sbin/gein-extras
  6. 5
    2
      usr/src/linux/4.12-config

+ 236
- 156
etc/emacs/default.el View File

@@ -1,72 +1,93 @@
;; /etc/emacs/default.el

;; Encoding
(setq prefer-coding-system 'utf-8
set-default-coding-systems 'utf-8
set-language-environment "UTF-8"
set-locale-environment "en_US.UTF-8")

;; Disable menubar, scrollbar, and toolbar before they initialize
(when (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(when (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(when (fboundp 'tool-bar-mode) (tool-bar-mode -1))

(load-theme 'tango-dark) ; Set theme to 'tango-dark'
(set-face-attribute ; Set font as 9pt normal monospace
;; Startup
(setq initial-scratch-message nil
inhibit-splash-screen t
inhibit-startup-buffer-menu t
column-number-mode t
visible-bell t)

;; Set theme to 'tango-dark'
(load-theme 'tango-dark)

;; Set font as 9pt normal monospace
(set-face-attribute
'default nil
:family "Monospace" :weight 'normal
:width 'normal :height 96)

(add-hook 'lisp-mode-hook 'linum-mode) ; Startup Hooks
;; Startup Hooks
(add-hook 'lisp-mode-hook 'linum-mode)
(add-hook 'prog-mode-hook 'linum-mode)
(add-hook 'text-mode-hook 'linum-mode)
(add-hook 'before-save-hook 'delete-trailing-whitespace)

;; Setings
(setq auto-save-default nil
auto-save-file-name-transforms `((".*" "~/.emacs.d/backup/" t))
auto-window-vscroll nil
backup-directory-alist `((".*" . "~/.emacs.d/backup/"))
browse-url-browser-function 'eww-browse-url
c-basic-offset 4
column-number-mode t
cperl-indent-level 4
create-lockfiles nil
custom-file "~/.emacs.d/custom.el"
delete-by-moving-to-trash t
delete-old-versions t
delete-selection-mode t
indent-tabs-mode nil
inhibit-splash-screen t
inhibit-startup-buffer-menu t
initial-scratch-message nil
js-indent-level 4
kept-new-versions 2
kept-new-versions 2
mouse-wheel-follow-mouse 't
mouse-wheel-progressive-speed nil
mouse-wheel-scroll-amount '(3 ((shift) . 3))
mouse-yank-at-point t
prefer-coding-system 'utf-8
prefer-coding-system 'utf-8
require-final-newline t
save-interprogram-paste-before-kill t
scroll-conservatively 101
scroll-down-aggressively 0.0
scroll-margin 0
scroll-preserve-screen-position 1
scroll-step 1
scroll-up-aggressively 0.0
select-enable-primary nil
set-default-coding-systems 'utf-8
set-language-environment "UTF-8"
set-locale-environment "en_US.UTF-8"
shr-blocked-images ""
tab-width 4
vc-follow-symlinks t
vc-make-backup-files t
version-control t
visible-bell t)

(fset 'yes-or-no-p 'y-or-n-p) ; Shorter y/n prompts
(global-visual-line-mode t) ; Globally enable word-wrap
(show-paren-mode t) ; Highlight matching parenthesis
(xterm-mouse-mode t) ; Enable Emacs mouse commands
(if (file-exists-p custom-file) ; Autoload custom file on start
;; Autosave/Backups
(setq auto-save-default nil
auto-save-file-name-transforms `((".*" "~/.emacs.d/backup/" t))
backup-directory-alist `((".*" . "~/.emacs.d/backup/"))
create-lockfiles nil
delete-by-moving-to-trash t
delete-old-versions t
delete-selection-mode t
kept-new-versions 2
vc-follow-symlinks t
vc-make-backup-files t
version-control t)

;; Cut/Paste
(setq require-final-newline t
save-interprogram-paste-before-kill t
select-enable-primary nil)

;; Indentation
(setq c-basic-offset 2
cperl-indent-level 2
js-indent-level 2
indent-tabs-mode nil
tab-width 2)

;; Mouse
(setq mouse-wheel-follow-mouse 't
mouse-wheel-progressive-speed nil
mouse-wheel-scroll-amount '(3 ((shift) . 3))
mouse-yank-at-point t)

;; Scrolling
(setq auto-window-vscroll nil
scroll-conservatively 101
scroll-down-aggressively 0.0
scroll-margin 0
scroll-preserve-screen-position 1
scroll-step 1
scroll-up-aggressively 0.0)

;; Shorter y/n prompts
(fset 'yes-or-no-p 'y-or-n-p)

;; Globally enable word-wrap
(global-visual-line-mode t)

;; Highlight matching parenthesis
(show-paren-mode t)

;; Enable Emacs mouse commands
(xterm-mouse-mode t)

;; Autoload custom file on start
(setq custom-file "~/.emacs.d/custom.el")
(if (file-exists-p custom-file)
(load custom-file)
(write-region "" nil custom-file))

@@ -106,18 +127,19 @@
;;; Package Manager ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'package)
(setq package-user-dir ; Set package dir to ~/.emacs.d/pkg/
"~/.emacs.d/pkg/"
package-archives ; Set repositories to use
(setq package-user-dir "~/.emacs.d/pkg/"
package-archives
'(("GNU ELPA" . "http://elpa.gnu.org/packages/")
("MELPA Stable" . "https://stable.melpa.org/packages/")
("MELPA" . "https://melpa.org/packages/"))
package-archive-priorities ; Set order to choose packages (higher = preferred)
package-archive-priorities
'(("MELPA Stable" . 3)
("GNU ELPA" . 2)
("MELPA" . 1)))
(package-initialize)

;; Install 'use-package' if not present
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
@@ -127,8 +149,6 @@

;;; Built-in Packages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(use-package auto-dictionary)

(use-package async
:config (async-bytecomp-package-mode '(all)))

@@ -137,6 +157,8 @@
(auto-compile-on-load-mode)
(auto-compile-on-save-mode))

(use-package auto-dictionary)

(use-package elfeed
:bind ("C-x w" . elfeed)
:config
@@ -147,6 +169,23 @@

(use-package eshell
:config
(setq eshell-cmpl-cycle-completions nil
eshell-error-if-no-glob t
eshell-hist-ignoredups t
eshell-history-size 4096
eshell-prefer-lisp-functions t
eshell-save-history-on-exit t
eshell-scroll-to-bottom-on-input 'all)

(setq eshell-prompt-function
(lambda nil
(concat
"[" (user-login-name) "@" (system-name) " "
(if (= (length (eshell/pwd)) (length (getenv "HOME")))
"~" (eshell/basename (eshell/pwd))) "]"
(if (= (user-uid) 0) "# " "$ ")))
eshell-prompt-regexp "^[^#$\n]*[#$] ")

(defun append-to-list (list-var elements) "Append ELEMENTS to the end of LIST-VAR"
(set list-var (append (symbol-value list-var) elements)))

@@ -175,72 +214,53 @@
(eshell/alias "rm" "rm -i $*")
(eshell/alias "rr" "rm -ir $*")))

(setq eshell-cmpl-cycle-completions nil
eshell-error-if-no-glob t
eshell-hist-ignoredups t
eshell-history-size 4096
eshell-prefer-lisp-functions t
eshell-prompt-function
(lambda nil
(concat
"[" (user-login-name) "@" (system-name) " "
(if (= (length (eshell/pwd)) (length (getenv "HOME")))
"~" (eshell/basename (eshell/pwd))) "]"
(if (= (user-uid) 0) "# " "$ ")))
eshell-prompt-regexp "^[^#$\n]*[#$] "
eshell-save-history-on-exit t
eshell-scroll-to-bottom-on-input 'all)

(defun eshell-clear() "Clear the eshell buffer"
(let ((inhibit-read-only t))
(erase-buffer)
(eshell-send-input)))

(defun eshell-exports() "Store desired environment variables for eshell."
(setenv "EDITOR" "emacsclient")
(setenv "GIT_EDITOR" "emacsclient")
(setenv "MANPATH" (getenv "MANPATH"))
(setenv "PATH" (getenv "PATH"))
(setenv "PROMPT_COMMAND" "")
(setenv "SHELL" (getenv "SHELL"))
(setenv "TERM" (getenv "TERM")))

(defun eshell-new() "Open a new instance of eshell."
(interactive)
(eshell 'N)))
(defun eshell-clear()
"Clear the eshell buffer"
(let ((inhibit-read-only t))
(erase-buffer)
(eshell-send-input)))

(defun eshell-exports()
"Store desired environment variables for eshell."
(setenv "EDITOR" "emacsclient")
(setenv "GIT_EDITOR" "emacsclient")
(setenv "MANPATH" (getenv "MANPATH"))
(setenv "PATH" (getenv "PATH"))
(setenv "PROMPT_COMMAND" "")
(setenv "SHELL" (getenv "SHELL"))
(setenv "TERM" (getenv "TERM")))

(defun eshell-new()
"Open a new instance of eshell."
(interactive)
(eshell 'N)))

(use-package eww
:config
(defun eww-disable-images() "Block all images from loading in eww."
(interactive)
(setq shr-blocked-images "")
(eww-reload))

(defun eww-enable-images() "Stop blocking images in eww."
(interactive)
(setq shr-blocked-images nil)
(eww-reload))

(defun eww-toggle-images() "Toggle blocking images in eww."
(interactive)
(if (bound-and-true-p shr-blocked-images)
(eww-enable-images)
(eww-disable-images)))

(defun eww-new() "Open a new instance of eww."
(interactive)
(let ((url (read-from-minibuffer "Enter URL or keywords: ")))
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww-mode)
(eww url)))

(defun eww-open-url-in-new() "Open link under cursor in new instance of eww"
(interactive)
(let ((url (get-text-property (point) 'shr-url)))
(print url)
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww-mode)
(eww url))))
(defun eww-toggle-images()
"Toggle blocking images in eww."
(interactive)
(if (bound-and-true-p shr-blocked-images)
(setq shr-blocked-images nil)
(setq shr-blocked-images ""))
(eww-reload))

(defun eww-new()
"Open a new instance of eww."
(interactive)
(let ((url (read-from-minibuffer "Enter URL or keywords: ")))
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww-mode)
(eww url)))

(defun eww-open-url-in-new()
"Open link under cursor in new instance of eww"
(interactive)
(let ((url (get-text-property (point) 'shr-url)))
(print url)
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww-mode)
(eww url))))

(use-package gnus
:config
@@ -266,45 +286,51 @@

(use-package scratch
:config
(defun scratch-new() "Open a new scratch buffer."
(interactive)
(switch-to-buffer (generate-new-buffer "*scratch*"))
(lisp-mode)))
(defun scratch-new()
"Open a new scratch buffer."
(interactive)
(switch-to-buffer (generate-new-buffer "*scratch*"))
(lisp-mode)))

(use-package server
:config
(unless (server-running-p)
(server-start))

(defun server-reinstall() "Remove packages, then run server-reload"
(interactive)
(if (file-exists-p "~/.emacs.d/pkg")
(delete-directory "~/.emacs.d/pkg" t))
(server-reload))

(defun server-kill() "Delete current Emacs server, then kill Emacs"
(interactive)
(server-force-delete)
(kill-emacs))

(defun server-reload() "Reload init file"
(interactive)
(if (file-exists-p "~/.emacs.d/init.el")
(load-file "~/.emacs.d/init.el")
(if (file-exists-p "~/.emacs")
(load-file "~/.emacs")))
(eshell-exports))

(defun server-stop() "Prompt to save buffers, then kill Emacs."
(interactive)
(save-buffers-kill-emacs))

(defun server-update() "Refresh package contents, then update all packages."
(interactive)
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(package-utils-upgrade-all))
(defun server-reinstall()
"Remove packages, then run server-reload"
(interactive)
(if (file-exists-p "~/.emacs.d/pkg")
(delete-directory "~/.emacs.d/pkg" t))
(server-reload))

(defun server-kill()
"Delete current Emacs server, then kill Emacs"
(interactive)
(server-force-delete)
(kill-emacs))

(defun server-reload()
"Reload init file"
(interactive)
(if (file-exists-p "~/.emacs.d/init.el")
(load-file "~/.emacs.d/init.el")
(if (file-exists-p "~/.emacs")
(load-file "~/.emacs")))
(eshell-exports))

(defun server-stop()
"Prompt to save buffers, then kill Emacs."
(interactive)
(save-buffers-kill-emacs))

(defun server-update()
"Refresh package contents, then update all packages."
(interactive)
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(package-utils-upgrade-all))

(global-set-key (kbd "C-x C-c")
(lambda() (interactive)
@@ -317,6 +343,52 @@

;;; Extras ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(use-package circe
:config
(add-hook 'circe-chat-mode-hook 'my-circe-prompt)
(add-hook 'circe-message-option-functions 'my-circe-message-option-chanserv)
(add-hook 'lui-mode-hook
(lambda()
(my-lui-setup)
(my-circe-set-margin)))

(if (file-exists-p "~/.emacs.d/circe.el")
(load-file "~/.emacs.d/circe.el"))

(setq circe-default-part-message ""
circe-default-quit-message ""
circe-format-server-topic "*** Topic change by {userhost}: {topic-diff}"
circe-reduce-lurker-spam t
circe-use-cycle-completion t
lui-fill-type nil
lui-flyspell-alist '((".*" "american"))
lui-flyspell-p t
lui-time-stamp-format "%H:%M:%S"
lui-time-stamp-position 'left-margin)

(require 'circe-chanop)
(enable-circe-color-nicks)

(defun my-circe-set-margin() (setq left-margin-width 9))
(setf (cdr (assoc 'continuation fringe-indicator-alist)) nil)

(defun my-lui-setup()
(setq fringes-outside-margins t
left-margin-width 9
word-wrap t
wrap-prefix ""))

(defun my-circe-prompt()
(lui-set-prompt
(concat (propertize
(concat (buffer-name) ">")
'face 'circe-prompt-face)
" ")))

(defun my-circe-message-option-chanserv (nick user host command args)
(when (and (string= "ChanServ" nick) (string-match "^\\[#.+?\\]" (cadr args)))
'((dont-display . t)))))

(use-package company
:config
(add-hook 'prog-mode-hook 'company-mode)
@@ -359,6 +431,14 @@
(add-hook 'prog-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode))

(use-package go-mode
:config
(add-hook 'before-save-hook 'gofmt-before-save)
(add-hook 'go-mode-hook
(lambda()
(setq tab-width 4
indent-tabs-mode 1))))

(use-package highlight-indent-guides
:config
(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)

+ 0
- 15
etc/profile View File

@@ -50,18 +50,3 @@ 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
}

+ 25
- 0
etc/profile.d/kernel.sh View File

@@ -0,0 +1,25 @@
# /etc/profile.d/kernel.sh

KMake="-j$(grep -c ^processor /proc/cpuinfo)"

kernel-rebuild() {
printf "\n\n#####\n### Building Kernel\n#####\n\n"
$KMake &&

printf "\n\n#####\n### Building Kernel Modules\n#####\n\n"
$KMake modules &&

printf "\n\n#####\n### Installing Kernel\n#####\n\n"
$KMake install &&

printf "\n\n#####\n### Installing Kernel Modules\n#####\n\n"
$KMake 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
}

unset KMake

+ 37
- 40
gein View File

@@ -26,35 +26,35 @@ Stage3_Url="http://distfiles.gentoo.org/releases"

Bootstrap() {
## Confirm the user has setup their disks
echo "Please ensure that you have performed the following: " && \
echo "Please ensure that you have performed the following: "
echo " - Edited the environment variables at the top of this script."
echo " - Partitioned and mounted your disk(s)." && \
echo " - Partitioned and mounted your disk(s)."
$Read "Proceed with installation? [Y/N]: " Proceed && \
if echo $Proceed | grep -iq "^n"; then exit; fi
if echo $Proceed | grep -iq "^n"; then exit; fi &&

## Set time via ntpd
ntpd -q -g
ntpd -q -g &&

## Download and extract stage3 tarball
cd /mnt/gentoo && \
wget ${Stage3_Url}/${Stage3_Arch}/autobuilds/${Stage3_Date}/stage3-${Stage3_Arch}-${Stage3_Date}.tar.bz2 && \
tar xvjpf stage3-*.tar.bz2 --xattrs --numeric-owner
tar xvjpf stage3-*.tar.bz2 --xattrs --numeric-owner &&

## Mount hardware devices
mount -t proc /proc /mnt/gentoo/proc && \
mount --rbind /sys /mnt/gentoo/sys && \
mount --make-rslave /mnt/gentoo/sys && \
mount --rbind /dev /mnt/gentoo/dev && \
mount --make-rslave /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev &&

## Setup '/swapfile'
Swap_File="/mnt/gentoo/swapfile" && \
Swap_File="/mnt/gentoo/swapfile"
if [ ! -e $Swap_File ]; then
fallocate -l $Swap_Size $Swap_File && \
mkswap $Swap_File && \
chmod 0600 $Swap_File && \
swapon $Swap_File
fi
fi &&

## Configure Portage
if [ ! -z $Make_Conf ]; then
@@ -66,21 +66,21 @@ Bootstrap() {
fi && \
if [ ! -z $Package_Env ]; then
wget $Package_Env -O /mnt/gentoo/etc/portage/package.env
fi
fi &&

## Setup Portage mirrors
mkdir -vp /mnt/gentoo/etc/portage/repos.conf && \
cp -v /mnt/gentoo/usr/share/portage/config/repos.conf \
/mnt/gentoo/etc/portage/repos.conf/gentoo.conf && \
cp -vL /etc/resolv.conf /mnt/gentoo/etc/
cp -vL /etc/resolv.conf /mnt/gentoo/etc/ &&

## Add 'gein-extras' script
if [ ! -z $Gein_Extras ]; then
mkdir -vp /mnt/gentoo/usr/local/sbin && \
wget $Base_URL/usr/local/sbin/gein-extras \
-O /mnt/gentoo/usr/local/sbin/gein-extras
-O /mnt/gentoo/usr/local/sbin/gein-extras && \
chmod +x /mnt/gentoo/usr/local/sbin/gein-extras
fi
fi &&

## Chroot into '/mnt/gentoo'
cd /mnt/gentoo && \
@@ -92,7 +92,8 @@ Bootstrap() {
Minimal() {
## Adjust make.conf to store the specified video card and # of CPU cores
sed -i "s/Video_Cards/${Video_Cards}/g;
s/Make_Opts/-j$(grep -c ^processor /proc/cpuinfo)/g" /etc/portage/make.conf
s/Make_Opts/-j$(grep -c ^processor /proc/cpuinfo)/g" \
/etc/portage/make.conf &&

## Reload profile and update PS1
source /etc/profile && \
@@ -102,15 +103,13 @@ Minimal() {
emerge-webrsync && \
eselect profile list && \
$Read "Which profile? [Default is 1]: " Target_Profile && \
if [ -z $Target_Profile ]; then
Target_Profile="1"
fi
[ -z $Target_Profile ] && Target_Profile="1"
eselect profile set $Target_Profile && \
$Emerge --update --deep --newuse @world
$Emerge --update --deep --newuse @world &&

## Set desired timezone
echo "${Time_Zone}" > /etc/timezone && \
emerge --config sys-libs/timezone-data
emerge --config sys-libs/timezone-data &&

## Set desired locales
echo "${Locale}" > /etc/locale.gen && \
@@ -118,7 +117,7 @@ Minimal() {
locale -a && \
eselect locale list && \
$Read "Target locale: " Target_Locale && \
eselect locale set ${Target_Locale}
eselect locale set ${Target_Locale} &&

## Update environment
env-update && \
@@ -143,23 +142,23 @@ Minimal() {
make && \
make modules_install && \
make install && \
genkernel --install initramfs
genkernel --install initramfs &&

## Configure '/etc/fstab/'
echo "/swapfile none swap sw 0 0" >> /etc/fstab && \
nano /etc/fstab
nano /etc/fstab &&

## Install neworking packages &
$Emerge --noreplace net-misc/netifrc && \
$Emerge net-misc/dhcpcd
$Emerge net-misc/dhcpcd &&

## Set desired hostname and update '/etc/hosts'
echo hostname="${Hostname}" > /etc/conf.d/hostname
echo hostname="${Hostname}" > /etc/conf.d/hostname &&

## Configure and install Grub
$Emerge sys-boot/grub:2 && \
grub-install $Grub_Target && \
grub-mkconfig -o /boot/grub/grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg &&

## Set root password
passwd
@@ -190,6 +189,15 @@ Desktop() {
}


Laptop() {
$Emerge app-laptop/laptop-mode-tools \
net-misc/connman \
net-wireless/wpa_supplicant \
x11-apps/xbacklight && \
rc-update add laptop_mode default
}


Media() {
$Emerge app-shells/zsh \
app-shells/zsh-completions \
@@ -216,26 +224,17 @@ Steam() {
}


Laptop() {
$Emerge app-laptop/laptop-mode-tools \
net-misc/connman \
net-wireless/wpa_supplicant \
x11-apps/xbacklight && \
rc-update add laptop_mode default
}


Cleanup() {
## Install eclean
$Emerge app-portage/gentoolkit \
app-admin/eclean-kernel
app-admin/eclean-kernel &&

## Update @world, remove unused packages, and clean
$Emerge -uDN @world && \
$Emerge --depclean && \
$Emerge --update --changed-use --deep @world && \
eclean packages && \
eclean-dist --deep --fetch-restricted
eclean-dist --deep --fetch-restricted &&

## Remove junk created during installation
rm -rf /stage3*.tar.bz2
@@ -253,11 +252,9 @@ shopt -s nocasematch && \
laptop | -l) Laptop;;
media | -M) Media;;
steam | -s) Steam;;
bloat | -B) Minimal && \
Desktop && Laptop && \
Media && Office && Steam && \
Cleanup
;;
bloat | -B) Minimal && Desktop && Laptop && \
Media && Office && Steam && \
Cleanup ;;

help | --help | -h)
echo "Try reading the script along with the Gentoo documentation:"

+ 3
- 5
usr/local/sbin/gein-extras View File

@@ -1,13 +1,8 @@
#!/bin/env sh
#
# /usr/local/sbin/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"

@@ -17,3 +12,6 @@ $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

+ 5
- 2
usr/src/linux/4.12-config View File

@@ -2042,8 +2042,11 @@ CONFIG_INPUT_SPARSEKMAP=y
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set


Loading…
Cancel
Save