Skip to content

Commit 2a4abdb

Browse files
author
Torstein Krause Johansen
committed
- added zsh resources
1 parent 9254355 commit 2a4abdb

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

zsh/.zshrc

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Set up the prompt
2+
3+
autoload -Uz promptinit
4+
promptinit
5+
prompt adam1
6+
7+
setopt histignorealldups sharehistory
8+
9+
# Use emacs keybindings even if our EDITOR is set to vi
10+
bindkey -e
11+
12+
HISTSIZE=100000
13+
SAVEHIST=100000
14+
HISTFILE=~/.zsh_history
15+
16+
# Use modern completion system
17+
autoload -Uz compinit
18+
compinit
19+
20+
zstyle ':completion:*' auto-description 'specify: %d'
21+
zstyle ':completion:*' completer _expand _complete _correct _approximate
22+
zstyle ':completion:*' format 'Completing %d'
23+
zstyle ':completion:*' group-name ''
24+
zstyle ':completion:*' menu select=2
25+
eval "$(dircolors -b)"
26+
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
27+
zstyle ':completion:*' list-colors ''
28+
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
29+
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
30+
zstyle ':completion:*' menu select=long
31+
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
32+
zstyle ':completion:*' use-compctl false
33+
zstyle ':completion:*' verbose true
34+
35+
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
36+
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'

0 commit comments

Comments
 (0)