alias more="less"
alias m="less "
alias -g M="| less"
-alias -g W="| wc -l"
+alias -g W="| wc -l | sed 's/ //g'"
alias mc="mc --nomouse"
alias sent="mutt -f =sent-\`date '+%y-%m'\`"
alias zc=~/bin/dc-wrapped.sh
# fzf {{{
export FZF_DEFAULT_OPTS="--color=16 --info=inline"
cf() {
- local dir=$(find ${1:-.} -path "*/\.git" -prune -o -type d -print |
+ local dir=$(find ${1:-.} -mindepth 1 -path "*/\.git" -prune -o -type d -print |
fzf --height 40% --reverse --preview="tree -CN {}")
[[ -z $dir ]] || cd $dir
}