diff options
-rw-r--r-- | .vimrc | 3 | ||||
-rw-r--r-- | .zshrc | 15 |
2 files changed, 13 insertions, 5 deletions
@@ -32,6 +32,9 @@ set scrolloff=3 set showcmd set display=uhex +"aliases +ca w!! w !sudo tee "%" > /dev/null + let g:qname_hotkey = "<C-b>" syntax on @@ -182,7 +182,7 @@ export MANPAGER=vimpager export PERLDOC_PAGER=vimpager export LESSCHARSET="UTF-8" export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-' -export LESS='-F -i -n -w -g -M -R -P%t?f%f \ +export LESS='-i -n -w -g -M -R -P%t?f%f \ :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...' # }}} @@ -273,7 +273,7 @@ password() { else count="$1" fi - echo $(< /dev/urandom tr -dc A-Za-z0-9_ | head -c$count) + echo $(< /dev/urandom tr -dc A-Za-z0-9 | head -c$count) } # jump between directories @@ -452,12 +452,16 @@ regcheck() { # History {{{ export HISTFILE=~/.zsh/histfile # for some odd reason allocating RAM to save the histfile takes ages.. -export HISTSIZE=5000 -export SAVEHIST=$HISTSIZE +export HISTSIZE=100000 +export SAVEHIST=65536 +readonly HISTFILE # }}} # Other ZSH options {{{ -autoload colors +autoload -U colors colors + +autoload -U zmv + # .. -> cd ../ setopt autocd @@ -606,6 +610,7 @@ alias yql='yaourt -Ql' # too long to remember alias asciidoc_full='asciidoc -a icons -a toc -a linkcss -a quirks!' +alias nossh='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' # other random aliases alias ☠='pkill -9' |