1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 18:39:26 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
d196c6a15a Add verbose flag to Git branch listing
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-17 22:15:41 -05:00
5 changed files with 13 additions and 15 deletions

View File

@ -99,13 +99,14 @@ zstyle -e ':completion:*:hosts' hosts 'reply=(
)' )'
# Don't complete uninteresting users... # Don't complete uninteresting users...
zstyle ':completion:*:*:*:users' ignored-patterns nobody nobody4 noaccess '_*' \ zstyle ':completion:*:*:*:users' ignored-patterns \
$([[ "$OSTYPE" = SunOS ]] && uid_min=100 || uid_min=500 adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
IFS=: dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
while read -r user pass uid remainder; do hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
[[ "$user" != (\#*|root) ]] && ((uid < uid_min)) && echo $user mailman mailnull mldonkey mysql nagios \
done </etc/passwd named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
) operator pcap postfix postgres privoxy pulse pvm quagga radvd \
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs '_*'
# ... unless we really want to. # ... unless we really want to.
zstyle '*' single-ignored show zstyle '*' single-ignored show

View File

@ -32,8 +32,8 @@ alias g='git'
# Branch (b) # Branch (b)
alias gb='git branch' alias gb='git branch'
alias gbc='git checkout -b' alias gbc='git checkout -b'
alias gbl='git branch -v' alias gbl='git branch -vv'
alias gbL='git branch -av' alias gbL='git branch -avv'
alias gbx='git branch -d' alias gbx='git branch -d'
alias gbX='git branch -D' alias gbX='git branch -D'
alias gbm='git branch -m' alias gbm='git branch -m'

View File

@ -20,9 +20,6 @@ home directory.
Since RVM is loaded into the shell and is known to override shell commands, it Since RVM is loaded into the shell and is known to override shell commands, it
may conflict with shell scripts. may conflict with shell scripts.
Load this module as late as possible when using RVM since RVM will complain if
it is not first in `$PATH`.
rbenv rbenv
----- -----

View File

@ -15,7 +15,7 @@ fi
# Auto Start # Auto Start
# #
if [[ -z "$STY" && ( -z "$INSIDE_EMACS" || -z "$EMACS" || -z "$VIM" ) ]] && ( \ if [[ -z "$STY" ]] && ( \
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' remote ) || ( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' remote ) ||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' local ) \ ( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' local ) \
); then ); then

View File

@ -16,11 +16,11 @@ fi
# Auto Start # Auto Start
# #
if [[ -z "$TMUX" && ( -z "$INSIDE_EMACS" || -z "$EMACS" || -z "$VIM" ) ]] && ( \ if [[ -z "$TMUX" ]] && ( \
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' remote ) || ( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' remote ) ||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \ ( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \
); then ); then
tmux_session='prezto' tmux_session='#Prezto'
if ! tmux has-session -t "$tmux_session" 2> /dev/null; then if ! tmux has-session -t "$tmux_session" 2> /dev/null; then
# Ensure that tmux server is started. # Ensure that tmux server is started.