Updated lots of resources

This commit is contained in:
Austen Adler 2018-11-26 13:19:49 -05:00
parent 9d05b29000
commit b2a3bb723a
3 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,5 @@
!URxvt.boldFont: -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
!URxvt.font: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
URxvt.font: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
!URxvt.boldFont: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
!URxvt.font: xft:Fixed:style=SemiCondensed:size=10
!URxvt.font: xft:Inconsolata:size=12

View File

@ -119,6 +119,8 @@ set grepprg=grep\ -nH\ $*
"nnoremap <Leader>O m`O<Esc>``
" Always search in the forward direction
nnoremap # #/<CR><C-o>
noremap <expr> n (v:searchforward ? 'n' : 'N')
noremap <expr> N (v:searchforward ? 'N' : 'n')
" }
@ -355,7 +357,7 @@ function! Initialize()
silent !vim +"PlugClean" +"PlugInstall" +"PlugUpdate" +"qa"
q
endfunction
set guifont=Gohu\ GohuFont
set guifont=jmk\ Neep\ 10
"inoremap <Tab> <C-R>=g:UltiSnips_Complete()<cr>
"map <unique> <buffer> <LocalLeader>b <Plug>JavagetsetInsertBothGetterSetter
"map <Leader>a O<Esc>:Autoformat<CR>:v/\S/d<CR>:nohlsearch<CR>

View File

@ -133,13 +133,18 @@ if test -f /etc/gentoo-release; then
sudo echo "Args: $*"
# Beep, verbose, ask
sudo emerge --autounmask-write -Ava $*
echo "\a"
tput bel
}
if ex eix-sync; then
alias update="sudo eix-sync; tput bel"
elif eix emaint; then
alias update="sudo emaint sync -A; tput bel"
fi
upgrade() {
# Sudo echo so we have immediate results on weather sudo worked
sudo echo "Args: $*"
sudo emerge --update --newuse --deep --verbose --tree --keep-going=y --verbose-conflicts --alert --ask --binpkg-respect-use=y --binpkg-changed-deps=y --backtrack=30 $* @world
echo "\\a"
tput bel
}
elif test -f /etc/lsb-release; then
# Ubuntu
@ -189,7 +194,7 @@ if ex rsync; then
fi
alias -g nify=" > /dev/null 2>&1 &"
alias -g nifyd=" > /dev/null 2>&1 & disown"
alias -g L="2>&1|less"
alias -g L="|& less"
if ex mktemp; then
alias mtmp='pushd "$(mktemp -d)" >/dev/null'
fi
@ -205,6 +210,7 @@ elif ex egrep; then
elif ex grep; then
alias -g G='|& grep'
fi
alias bp="tput bel"
timer() {
for i in {1.."$1"}; do
sleep 1
@ -238,9 +244,6 @@ linx() {
tar -cf - "$@" | linx
fi
}
bp() {
printf '\a'
}
ltar() {
tar -cf - "$@"|pv -WcN tar|xz|pv -WcN lzma
#tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest