Browse Source

Move aliases to the bottom

master
Sorin Ionescu 13 years ago
parent
commit
d0bc126d01
  1. 9
      modules/screen/init.zsh
  2. 7
      modules/tmux/init.zsh

9
modules/screen/init.zsh

@ -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"

7
modules/tmux/init.zsh

@ -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"

Loading…
Cancel
Save