1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00

Move aliases to the bottom

This commit is contained in:
Sorin Ionescu 2012-07-03 13:50:25 -04:00
parent 129a2acb07
commit d0bc126d01
2 changed files with 7 additions and 9 deletions

View File

@ -5,11 +5,6 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# Aliases
alias sl="screen -list"
alias sn="screen -U -S"
alias sr="screen -a -A -U -D -R"
# Auto Start # Auto Start
if [[ -z "$STY" ]] && zstyle -t ':omz:module:screen' auto-start; then if [[ -z "$STY" ]] && zstyle -t ':omz:module:screen' auto-start; then
session="$( session="$(
@ -25,3 +20,7 @@ if [[ -z "$STY" ]] && zstyle -t ':omz:module:screen' auto-start; then
fi fi
fi fi
# Aliases
alias sl="screen -list"
alias sn="screen -U -S"
alias sr="screen -a -A -U -D -R"

View File

@ -6,10 +6,6 @@
# Colin Hebert <hebert.colin@gmail.com> # Colin Hebert <hebert.colin@gmail.com>
# #
# Aliases
alias ta="tmux attach-session"
alias tl="tmux list-sessions"
# Auto Start # Auto Start
if [[ -z "$TMUX" ]] && zstyle -t ':omz:module:tmux' auto-start; then if [[ -z "$TMUX" ]] && zstyle -t ':omz:module:tmux' auto-start; then
tmux_session='#OMZ' tmux_session='#OMZ'
@ -32,3 +28,6 @@ if [[ -z "$TMUX" ]] && zstyle -t ':omz:module:tmux' auto-start; then
exec tmux new-session -t "$tmux_session" exec tmux new-session -t "$tmux_session"
fi fi
# Aliases
alias ta="tmux attach-session"
alias tl="tmux list-sessions"