helm/zsh/aliases
2015-12-23 05:41:21 -05:00

23 lines
558 B
Bash

#!/usr/bin/env zsh
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
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}"