mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:49:02 -08:00
the further usual
This commit is contained in:
parent
4c14e1864f
commit
4d1fb72141
4 changed files with 10 additions and 5 deletions
|
@ -4,10 +4,11 @@
|
|||
#umask 027 # screw others
|
||||
umask 022 # don't inherit last umask. pip will break itself.
|
||||
|
||||
hash -d e=/media/2tb/you
|
||||
|
||||
ADDPATH() {
|
||||
grep ":$1:" <<<":$PATH:" >/dev/null || export PATH="$PATH:$1"
|
||||
}
|
||||
|
||||
ADDPATH "$HOME/opt/local/bin"
|
||||
|
||||
r="$HOME/.gem/ruby/2.2.0/bin"
|
||||
|
|
|
@ -335,7 +335,7 @@ nl_multi_line_cond = true
|
|||
nl_multi_line_define = true
|
||||
nl_before_case = false
|
||||
nl_before_throw = remove
|
||||
nl_after_case = true
|
||||
nl_after_case = false
|
||||
nl_case_colon_brace = remove
|
||||
nl_namespace_brace = ignore
|
||||
nl_template_class = ignore
|
||||
|
|
|
@ -185,6 +185,8 @@ nn <s-Del> X
|
|||
nn <Leader>p "0p
|
||||
nn <Leader>P "0P
|
||||
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...
|
||||
set nomodeline
|
||||
|
|
8
sh/aur
8
sh/aur
|
@ -12,9 +12,10 @@ aur() {
|
|||
fi
|
||||
|
||||
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=
|
||||
while getopts 'demiasfyoj:h' opt; do
|
||||
while getopts 'demiasfyoIj:h' opt; do
|
||||
case $opt in
|
||||
d) o_download=0;;
|
||||
e) o_edit=0;;
|
||||
|
@ -25,6 +26,7 @@ aur() {
|
|||
f) o_force=1;;
|
||||
y) o_yes=1;;
|
||||
o) o_all_at_once=1;;
|
||||
I) o_install_anyway=1;;
|
||||
j) let o_jobs++;;
|
||||
?) local fd=0
|
||||
[ $opt = h ] && fd=0 || fd=2
|
||||
|
@ -85,7 +87,7 @@ aur() {
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
if [ $success -eq 0 ]; then
|
||||
if [ $success -eq 0 ] && [ $o_install_anyway -eq 0 ]; then
|
||||
fail=1
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue