Clean up zsh/aliases

This commit is contained in:
Henrik Lissner 2016-05-22 23:08:17 -04:00
parent 554fb4fd42
commit 2ed778323d

View file

@ -1,7 +1,4 @@
## aliases
#
# Aliases that apply regardless of shell. Loaded from ./.${SHELL}/aliases
#
#!/usr/bin/env zsh
autoload -U zmv
alias ?='since @$last'
@ -12,6 +9,7 @@ zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }
alias rk="noglob ${aliases[rk]:-rake}"
alias rkg="noglob ${aliases[rkg]:-rake -g}"
## Named Directories #########################################################
W=~/Dropbox/work
@ -244,11 +242,6 @@ if is-callable 'tmux'; then
tmux switch-client -t "$name"
tmux display-message "Session #S created"
}
# ts() {
# local session=$(tmux list-sessions -F "#{session_name}" | \
# fzf --query="$1" --select-1 --exit-0) &&
# tmux switch-client -t "$session"
# }
else
t() {
if (( $# > 0 )); then