helm/zsh/aliases
2015-12-27 02:31:25 -05:00

25 lines
577 B
Bash

#!/usr/bin/env zsh
load aliases
autoload -U zmv
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
alias ,,,='cd ${$(find ~/Dropbox/work -maxdepth 2 -type d | fzf):-.}'
# alias ,/='fzf_project_root'
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}"