mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 07:29:09 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			pull/562-i
			...
			pull/533-g
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					d196c6a15a | 
@@ -99,13 +99,14 @@ zstyle -e ':completion:*:hosts' hosts 'reply=(
 | 
			
		||||
)'
 | 
			
		||||
 | 
			
		||||
# Don't complete uninteresting users...
 | 
			
		||||
zstyle ':completion:*:*:*:users' ignored-patterns nobody nobody4 noaccess '_*' \
 | 
			
		||||
  $([[ "$OSTYPE" = SunOS ]] && uid_min=100 || uid_min=500
 | 
			
		||||
    IFS=:
 | 
			
		||||
    while read -r user pass uid remainder; do
 | 
			
		||||
      [[ "$user" != (\#*|root) ]] && ((uid < uid_min)) && echo $user
 | 
			
		||||
    done </etc/passwd
 | 
			
		||||
  )
 | 
			
		||||
zstyle ':completion:*:*:*:users' ignored-patterns \
 | 
			
		||||
  adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
 | 
			
		||||
  dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
 | 
			
		||||
  hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
 | 
			
		||||
  mailman mailnull mldonkey mysql nagios \
 | 
			
		||||
  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.
 | 
			
		||||
zstyle '*' single-ignored show
 | 
			
		||||
 
 | 
			
		||||
@@ -32,8 +32,8 @@ alias g='git'
 | 
			
		||||
# Branch (b)
 | 
			
		||||
alias gb='git branch'
 | 
			
		||||
alias gbc='git checkout -b'
 | 
			
		||||
alias gbl='git branch -v'
 | 
			
		||||
alias gbL='git branch -av'
 | 
			
		||||
alias gbl='git branch -vv'
 | 
			
		||||
alias gbL='git branch -avv'
 | 
			
		||||
alias gbx='git branch -d'
 | 
			
		||||
alias gbX='git branch -D'
 | 
			
		||||
alias gbm='git branch -m'
 | 
			
		||||
 
 | 
			
		||||
@@ -20,9 +20,6 @@ home directory.
 | 
			
		||||
Since RVM is loaded into the shell and is known to override shell commands, it
 | 
			
		||||
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
 | 
			
		||||
-----
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ fi
 | 
			
		||||
# 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 ) ||
 | 
			
		||||
  ( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' local ) \
 | 
			
		||||
); then
 | 
			
		||||
 
 | 
			
		||||
@@ -16,11 +16,11 @@ fi
 | 
			
		||||
# 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 ) ||
 | 
			
		||||
  ( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \
 | 
			
		||||
); then
 | 
			
		||||
  tmux_session='prezto'
 | 
			
		||||
  tmux_session='#Prezto'
 | 
			
		||||
 | 
			
		||||
  if ! tmux has-session -t "$tmux_session" 2> /dev/null; then
 | 
			
		||||
    # Ensure that tmux server is started.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user