mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Move aliases to the bottom
This commit is contained in:
parent
129a2acb07
commit
d0bc126d01
@ -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"
|
||||||
|
@ -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…
Reference in New Issue
Block a user