mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
We work on all cygwin platforms?
This commit is contained in:
parent
3b3f002528
commit
153c59be9b
1 changed files with 4 additions and 6 deletions
10
zshrc
10
zshrc
|
@ -87,7 +87,7 @@ export LESS=' -R'
|
|||
alias cd..='cd ..'
|
||||
|
||||
case `uname -s` in
|
||||
Linux|CYGWIN_NT-5.1)
|
||||
Linux|CYGWIN_NT*)
|
||||
alias ls="ls -h --color=auto"
|
||||
alias grep='grep -d skip --color=auto'
|
||||
;;
|
||||
|
@ -187,8 +187,6 @@ case $TERM in
|
|||
interix)
|
||||
bindkey '^[[H' beginning-of-line
|
||||
bindkey '^[[U' end-of-line
|
||||
bindkey '^[[C' emacs-forward-word
|
||||
bindkey '^[[D' emacs-backward-word
|
||||
;;
|
||||
cygwin)
|
||||
bindkey '^[[1~' beginning-of-line
|
||||
|
@ -327,7 +325,7 @@ case `uname -s` in
|
|||
zstyle ':completion:*:processes-names' command 'ps -A -o command | awk "NR != 1"'
|
||||
fi
|
||||
;;
|
||||
CYGWIN_NT-5.1)
|
||||
CYGWIN_NT*)
|
||||
zstyle ':completion:*:processes-names' command 'ps -u '${USERNAME}' -s | awk "NR != 1"'
|
||||
;;
|
||||
esac
|
||||
|
@ -339,7 +337,7 @@ case `uname -s` in
|
|||
Interix)
|
||||
zstyle ':completion:*:*:kill:*:processes' command 'ps -i -U '${USERNAME}' -o pid,args | sed "/ps -i -U '${USERNAME}' -o pid,args/d"'
|
||||
;;
|
||||
CYGWIN_NT-5.1)
|
||||
CYGWIN_NT*)
|
||||
zstyle ':completion:*:*:kill:*:processes' command 'ps -u '${USERNAME}' -s | sed "/ps -u '${USERNAME}' -s/d"'
|
||||
;;
|
||||
SunOS|FreeBSD|OpenBSD)
|
||||
|
@ -354,7 +352,7 @@ case `uname -s` in
|
|||
Interix|SunOS|FreeBSD|Linux)
|
||||
zstyle ':completion:*:*:killall:*:processes-names' command "ps -U '${USERNAME}' -o comm"
|
||||
;;
|
||||
CYGWIN_NT-5.1)
|
||||
CYGWIN_NT*)
|
||||
zstyle ':completion:*:*:killall:*:processes-names' command "ps -u '${USERNAME}' -s"
|
||||
;;
|
||||
Darwin)
|
||||
|
|
Loading…
Add table
Reference in a new issue