Merge branch 'master' of github.com:steveokard/stevset
This commit is contained in:
commit
e3463f6a79
8 changed files with 25 additions and 54 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 6437ad6df4a3e6a87c5fb8bd2b8aadb277ec9c87
|
||||
Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d
|
4
.vimrc
4
.vimrc
|
@ -14,7 +14,9 @@ Plugin 'vim-airline/vim-airline'
|
|||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'Yggdroot/indentLine'
|
||||
Plugin 'ajh17/VimCompletesMe'
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
"Plugin 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'mhinz/vim-startify'
|
||||
Plugin 'vim-syntastic/syntastic'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
|
|
2
init.sh
2
init.sh
|
@ -1,4 +1,4 @@
|
|||
#!/bin/zsh
|
||||
#!/bin/bash
|
||||
#install pre-req.
|
||||
echo "installing required packages"
|
||||
./deps.zsh
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
--- packages.el 2017-09-26 14:44:01.743525901 -0400
|
||||
+++ packages_fixed.el 2017-09-26 14:37:53.824574000 -0400
|
||||
@@ -37,7 +37,7 @@
|
||||
dracula-theme
|
||||
espresso-theme
|
||||
farmhouse-theme
|
||||
- firebelly-theme
|
||||
+ ;firebelly-theme
|
||||
flatland-theme
|
||||
flatui-theme
|
||||
gandalf-theme
|
||||
@@ -64,14 +64,14 @@
|
||||
monochrome-theme
|
||||
mustang-theme
|
||||
naquadah-theme
|
||||
- niflheim-theme
|
||||
+ ;niflheim-theme
|
||||
noctilux-theme
|
||||
obsidian-theme
|
||||
occidental-theme
|
||||
omtose-phellack-theme
|
||||
oldlace-theme
|
||||
organic-green-theme
|
||||
- pastels-on-dark-theme
|
||||
+ ;pastels-on-dark-theme
|
||||
phoenix-dark-mono-theme
|
||||
phoenix-dark-pink-theme
|
||||
planet-theme
|
||||
@@ -98,7 +98,7 @@
|
||||
;; contains error
|
||||
; tommyh-theme
|
||||
toxi-theme
|
||||
- tronesque-theme
|
||||
+ ;tronesque-theme
|
||||
twilight-anti-bright-theme
|
||||
twilight-bright-theme
|
||||
twilight-theme
|
|
@ -1,4 +1,9 @@
|
|||
echo "# set cfq scheduler for rotating disks" >> /etc/udev/rules.d/60-schedulers.rules
|
||||
echo "ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq"" >> /etc/udev/rules.d/60-schedulers.rules
|
||||
echo "# set deadline scheduler for non-rotating disks" >> /etc/udev/rules.d/60-schedulers.rules
|
||||
echo "ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"" >> /etc/udev/rules.d/60-schedulers.rules
|
||||
sudo touch /etc/udev/rules.d/60-schedulers.rules
|
||||
sudo cat > /etc/udev/rules.d/60-schedulers.rules << EOF
|
||||
#set cfq scheduler for rotating disks
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq"
|
||||
|
||||
#set deadline scheduler for non-rotating disks
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
|
||||
EOF
|
||||
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
#!/bin/sh
|
||||
if [ $1 -n]
|
||||
then
|
||||
echo "Please provide a number to set swappiness value!" && exit 1
|
||||
else
|
||||
echo "vm.swappiness="$1
|
||||
if [ $(id -u) -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Please provide a number to set swappiness value!" && exit 2
|
||||
else
|
||||
sudo echo "vm.swappiness="$1 >> /etc/sysctl.conf
|
||||
sudo sysctl -p
|
||||
fi
|
||||
|
||||
|
|
|
@ -2,8 +2,3 @@ ln -s /home/`whoami`/stevset/.spacemacs /home/`whoami`/.spacemacs
|
|||
#init spacemacs in the background
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
|
||||
#Patch theme file to squelch error messages
|
||||
cp package.patch /home/stev/.emacs.d/layers/+themes/themes-megapack/
|
||||
cd /home/`whoami`/.emacs.d/layers/+themes/themes-megapack
|
||||
patch < package.patch
|
||||
rm package.patch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue