asdf
This commit is contained in:
parent
487e5d2110
commit
c1f67581b0
@ -20,8 +20,14 @@ if [ -f /etc/zsh_command_not_found ] ; then
|
||||
source /etc/zsh_command_not_found
|
||||
fi
|
||||
export DISABLE_AUTO_TITLE=true
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$(readlink -e ~/bin)"
|
||||
export EDITOR='vim'
|
||||
function asroot(){
|
||||
# Use temporary file for added security
|
||||
TEMPFILE=$(tempfile)
|
||||
xauth extract $TEMPFILE $DISPLAY
|
||||
sudo zsh -c "xauth merge $TEMPFILE;(srm $TEMPFILE||rm $TEMPFILE)&'$@';"
|
||||
}
|
||||
alias dumpx="xauth extract /tmp/xauthstuff $DISPLAY"
|
||||
alias impx="xauth merge /tmp/xauthstuff;rm /tmp/xauthstuff"
|
||||
alias sudo='sudo '
|
||||
|
@ -194,8 +194,12 @@ let g:airline#extensions#syntastic#enabled=0
|
||||
let g:airline#extensions#whitespace#enabled=0
|
||||
let g:airline#extensions#whitespace#show_message=0
|
||||
let g:airline#extensions#tmuxline#enabled=1
|
||||
let g:formatprg_cpp="astyle"
|
||||
let g:formatprg_args_expr_cpp=" --mode=c --style=1tbs -xe -k1 -j"
|
||||
let g:formatdef_my_custom_php = '"astyle --mode=php -xc -A10 -j -s2 -xG -S -K -N -xn -xl -n"'
|
||||
let g:formatdef_my_custom_cpp = '"astyle --mode=c -xc -A10 -j -s2 -xG -S -K -N -xn -xl -n"'
|
||||
let g:formatter_cpp = ['formatdef_my_custom_cpp']
|
||||
let g:formatter_php = ['formatdef_my_custom_php']
|
||||
"let g:formatprg_cpp="astyle"
|
||||
"let g:formatprg_args_expr_cpp=" --mode=c --style=1tbs -xe -k1 -j"
|
||||
" These flags don't work for some reason
|
||||
" -xn -xc -xl -S
|
||||
"let g:airline#extensions#tabline#enabled=1
|
||||
|
@ -30,7 +30,8 @@ hi CompTitle color: #ddc; background: #121212; font-weight: bold;
|
||||
hi CompTitle>* color: #aaa; font-weight: bold; border-top: 1px solid gray; border-bottom: 1px solid #BBB; padding: 1px 0.5ex;
|
||||
|
||||
" " Hints!
|
||||
" hi Hint color: white; background-color: #800; border-color: ButtonShadow; font-family: Inconsolata; font-size: 12px; border-width: 0px; border-style: solid; padding 0 1px;
|
||||
hi Hint color: white;background-color: #000000;
|
||||
" hi Hint color: black; background-color: #F00; border-color: ButtonShadow; font-family: Inconsolata; font-size: 12px; border-width: 0px; border-style: solid; padding 0 1px;
|
||||
" hi Hint::after content: attr(number);
|
||||
" hi HintActive color: black; background: #480;
|
||||
" hi HintElem color: black; background-color: #880;
|
||||
|
Loading…
Reference in New Issue
Block a user