1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 04:39:03 -08:00

the further usual

This commit is contained in:
Connor Olding 2015-03-07 07:57:26 -08:00
parent 4c14e1864f
commit 4d1fb72141
4 changed files with 10 additions and 5 deletions

View file

@ -4,10 +4,11 @@
#umask 027 # screw others #umask 027 # screw others
umask 022 # don't inherit last umask. pip will break itself. umask 022 # don't inherit last umask. pip will break itself.
hash -d e=/media/2tb/you
ADDPATH() { ADDPATH() {
grep ":$1:" <<<":$PATH:" >/dev/null || export PATH="$PATH:$1" grep ":$1:" <<<":$PATH:" >/dev/null || export PATH="$PATH:$1"
} }
ADDPATH "$HOME/opt/local/bin" ADDPATH "$HOME/opt/local/bin"
r="$HOME/.gem/ruby/2.2.0/bin" r="$HOME/.gem/ruby/2.2.0/bin"

View file

@ -335,7 +335,7 @@ nl_multi_line_cond = true
nl_multi_line_define = true nl_multi_line_define = true
nl_before_case = false nl_before_case = false
nl_before_throw = remove nl_before_throw = remove
nl_after_case = true nl_after_case = false
nl_case_colon_brace = remove nl_case_colon_brace = remove
nl_namespace_brace = ignore nl_namespace_brace = ignore
nl_template_class = ignore nl_template_class = ignore

View file

@ -185,6 +185,8 @@ nn <s-Del> X
nn <Leader>p "0p nn <Leader>p "0p
nn <Leader>P "0P nn <Leader>P "0P
nn <Leader>e :tabe nn <Leader>e :tabe
nn <Leader>. @:
"nn <Leader>x :!chmod +x % | e " how to end shell command?
if v:version < 703 " even debian stable has 7.3, so... if v:version < 703 " even debian stable has 7.3, so...
set nomodeline set nomodeline

8
sh/aur
View file

@ -12,9 +12,10 @@ aur() {
fi fi
local o_download=1 o_edit=1 o_make=1 o_install=1 local o_download=1 o_edit=1 o_make=1 o_install=1
local o_any_arch=1 o_sudo=1 o_force=0 o_yes=0 o_jobs=0 o_all_at_once=0 local o_any_arch=1 o_sudo=1 o_force=0 o_yes=0 o_jobs=0
local o_all_at_once=0 o_install_anyway=0
local opt= local opt=
while getopts 'demiasfyoj:h' opt; do while getopts 'demiasfyoIj:h' opt; do
case $opt in case $opt in
d) o_download=0;; d) o_download=0;;
e) o_edit=0;; e) o_edit=0;;
@ -25,6 +26,7 @@ aur() {
f) o_force=1;; f) o_force=1;;
y) o_yes=1;; y) o_yes=1;;
o) o_all_at_once=1;; o) o_all_at_once=1;;
I) o_install_anyway=1;;
j) let o_jobs++;; j) let o_jobs++;;
?) local fd=0 ?) local fd=0
[ $opt = h ] && fd=0 || fd=2 [ $opt = h ] && fd=0 || fd=2
@ -85,7 +87,7 @@ aur() {
fi fi
fi fi
fi fi
if [ $success -eq 0 ]; then if [ $success -eq 0 ] && [ $o_install_anyway -eq 0 ]; then
fail=1 fail=1
continue continue
fi fi