diff --git a/skel/.Xresources b/skel/.Xresources index 890959f..832521a 100644 --- a/skel/.Xresources +++ b/skel/.Xresources @@ -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 diff --git a/skel/.vimrc b/skel/.vimrc index f89fbb6..266f894 100644 --- a/skel/.vimrc +++ b/skel/.vimrc @@ -119,6 +119,8 @@ set grepprg=grep\ -nH\ $* "nnoremap O m`O`` " Always search in the forward direction nnoremap # #/ + noremap n (v:searchforward ? 'n' : 'N') + noremap 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 =g:UltiSnips_Complete() "map b JavagetsetInsertBothGetterSetter "map a O:Autoformat:v/\S/d:nohlsearch diff --git a/skel/.zshrc b/skel/.zshrc index 6fe1d41..0aadbd1 100644 --- a/skel/.zshrc +++ b/skel/.zshrc @@ -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