#! /bin/zsh # # this file: # https://dataswamp.org/~incal/conf/.zshrc word () { ~/bin/wd -d wn $@ } swirc-irc () { local name=manny swirc -c irc.dataswamp.org:6697 -j \#dataswamp -n $name -u $name -r $name } setopt nomonitor autoload throw catch [[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return setopt chasedots setopt chaselinks setopt interactivecomments blue-lotus () { cmatrix -b -u 9 -C blue } ts () { time-from 2015-12-31 } interactive-zsh () { [[ -o interactive ]] && echo "it's better" || echo "not so" } # what is this? s () { REPLY=$RANDOM } ## load everything for f in ~/.zsh/*; do . $f done . ~/.zsh/special/abbrev # ... why special treatment? shot () { sw ~/ssd/sot/pics/*.(jpg|jpeg|png|webp) 2> /dev/null cl } alias f='fortune -a'