diff --git a/i3/config b/i3/config index 726a65d..0eb2d78 100644 --- a/i3/config +++ b/i3/config @@ -190,7 +190,7 @@ exec --no-startup-id /home/stonewareslord/xmodmap.sh exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvt' exec --no-startup-id /usr/bin/shutter --min_at_startup #exec --no-startup-id "sleep 25;/usr/bin/owncloud" -exec --no-startup-id /usr/bin/gtk-redshift -l 36.3:-80.3 -t 4000:2000 +exec --no-startup-id /usr/bin/redshift -l 36.3:-80.3 -t 4000:2000 exec --no-startup-id /usr/bin/parcellite exec --no-startup-id /usr/bin/numlockx exec --no-startup-id /usr/bin/zeal diff --git a/shells/zshrc b/shells/zshrc index ef8834d..c56c020 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -72,9 +72,12 @@ alias search='apt-cache search' if [ "$(uname)" != "Darwin" ]; then # Not Mac alias ls='ls --color=always -F' - alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' + alias steamo='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' alias matlab='matlab -glnx86' alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' + if command -v greadlink 2>&1 >/dev/null; then + alias readlink='greadlink' + fi fi if test -f /etc/gentoo-release; then # Gentoo @@ -92,7 +95,7 @@ if test -f /etc/gentoo-release; then sudo zsh -c "git up&&echo Done pulling&&eix-update&&echo Done with eix" cd ->/dev/null } - alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose -t -a --keep-going=y @world' + alias upgrade='sudo emerge --update --newuse --with-bdeps=y --deep --verbose -t -a --keep-going=y --verbose-conflicts @world' elif test -f /etc/lsb-release; then # Ubuntu alias install='sudo apt-get --show-progress install' diff --git a/vim/vimrc b/vim/vimrc index 476210c..b48aeb5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -217,26 +217,26 @@ let g:neocomplete#sources#syntax#min_keyword_length = 2 let g:php_refactor_command='php /usr/local/bin/refactor.phar' let g:ctrlp_extensions=['funky'] "inoremap neocomplcache#smart_close_popup()."\" -function! g:UltiSnips_Complete() - call UltiSnips#ExpandSnippet() - if g:ulti_expand_res == 0 - if pumvisible() - return "\" - else - call UltiSnips#JumpForwards() - if g:ulti_jump_forwards_res == 0 - return "\" - endif - endif - endif - return "" -endfunction -au BufEnter * exec "inoremap " . g:UltiSnipsExpandTrigger . " =g:UltiSnips_Complete()" -let g:UltiSnipsJumpForwardTrigger="" -let g:UltiSnipsListSnippets="" +"function! g:UltiSnips_Complete() +" call UltiSnips#ExpandSnippet() +" if g:ulti_expand_res == 0 +" if pumvisible() +" return "\" +" else +" call UltiSnips#JumpForwards() +" if g:ulti_jump_forwards_res == 0 +" return "\" +" endif +" endif +" endif +" return "" +"endfunction +"au BufEnter * exec "inoremap " . g:UltiSnipsExpandTrigger . " =g:UltiSnips_Complete()" +"let g:UltiSnipsJumpForwardTrigger="" +"let g:UltiSnipsListSnippets="" +"let g:UltiSnipsEditSplit="vertical" inoremap pumvisible() ? "\" : "\u\" let loaded_matchit=1 -let g:UltiSnipsEditSplit="vertical" filetype off if has("win32") call plug#begin('~/vimfiles/plugged') @@ -296,8 +296,8 @@ Plug 'godlygeek/tabular' " "Better abbrivation | https://github.com/tpope/vim-abolish Plug 'godlygeek/csapprox' "256 color vim in terminal | https://github.com/godlygeek/csapprox -Plug 'sirver/UltiSnips' - "Adds snippets | https://github.com/sirver/UltiSnips +"Plug 'sirver/UltiSnips' +" "Adds snippets | https://github.com/sirver/UltiSnips Plug 'honza/vim-snippets' "More snippets | https://github.com/honza/vim-snippets Plug 'othree/eregex.vim'