2015-12-22 03:08:38 -08:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2015-12-20 20:39:11 -08:00
|
|
|
load aliases
|
|
|
|
|
|
|
|
alias ?='since @$last'
|
|
|
|
|
|
|
|
# Fast directory navigation
|
|
|
|
if is-callable 'fasd' && is-callable 'fzf'; then
|
|
|
|
# TODO Jump to folder in project
|
|
|
|
alias ,='fzf -d "$(project-root)"'
|
|
|
|
alias /='fzf -f "$(project-root)"'
|
|
|
|
fi
|
|
|
|
# see functions/commacd
|
2015-12-23 02:41:21 -08:00
|
|
|
alias ,,,='cd ${$(find ~/Dropbox/work -maxdepth 2 -type d | fzf):-.}'
|
|
|
|
alias ,/='fzf_project_root'
|
2015-12-20 20:39:11 -08:00
|
|
|
|
|
|
|
zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }
|
|
|
|
|
|
|
|
# Compilers, interpretors 'n builders
|
|
|
|
alias rk="noglob ${aliases[rk]:-rake}"
|
|
|
|
alias rkg="noglob ${aliases[rkg]:-rake -g}"
|
|
|
|
|