Clean up zsh/aliases
This commit is contained in:
parent
554fb4fd42
commit
2ed778323d
11
zsh/aliases
11
zsh/aliases
|
@ -1,7 +1,4 @@
|
||||||
## aliases
|
#!/usr/bin/env zsh
|
||||||
#
|
|
||||||
# Aliases that apply regardless of shell. Loaded from ./.${SHELL}/aliases
|
|
||||||
#
|
|
||||||
autoload -U zmv
|
autoload -U zmv
|
||||||
|
|
||||||
alias ?='since @$last'
|
alias ?='since @$last'
|
||||||
|
@ -12,6 +9,7 @@ zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }
|
||||||
alias rk="noglob ${aliases[rk]:-rake}"
|
alias rk="noglob ${aliases[rk]:-rake}"
|
||||||
alias rkg="noglob ${aliases[rkg]:-rake -g}"
|
alias rkg="noglob ${aliases[rkg]:-rake -g}"
|
||||||
|
|
||||||
|
|
||||||
## Named Directories #########################################################
|
## Named Directories #########################################################
|
||||||
|
|
||||||
W=~/Dropbox/work
|
W=~/Dropbox/work
|
||||||
|
@ -244,11 +242,6 @@ if is-callable 'tmux'; then
|
||||||
tmux switch-client -t "$name"
|
tmux switch-client -t "$name"
|
||||||
tmux display-message "Session #S created"
|
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
|
else
|
||||||
t() {
|
t() {
|
||||||
if (( $# > 0 )); then
|
if (( $# > 0 )); then
|
||||||
|
|
Loading…
Reference in a new issue