From 4ea407e5bbf92199685239f309e5e0e8633445d1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 23 Dec 2015 05:41:21 -0500 Subject: [PATCH] Clean up zsh aliases --- zsh/aliases | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/zsh/aliases b/zsh/aliases index 22b1a61f..2dae1029 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -6,21 +6,13 @@ 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)"' - - # alias v='vim' - - # -() { - # local d; d=$(echo ${dirstack:gs/ /\\n/} | fzf-tmux +s -e -1 --query="$*") && cd - - # } fi # see functions/commacd -# alias ,,,='cd ${$(find ~/Dropbox/work -maxdepth 2 -type d | fzf):-.}' -# alias ,-='[[ -n "$dirstack" ]] && cd $(echo "${dirstack:gs/ /\\n/}" | fzf) || echo "Nothing in the stack"' -# alias ,/='fzf_project_root' +alias ,,,='cd ${$(find ~/Dropbox/work -maxdepth 2 -type d | fzf):-.}' +alias ,/='fzf_project_root' zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }