File tree 3 files changed +44
-0
lines changed
3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ README
Original file line number Diff line number Diff line change
1
+ syntax on
2
+ set nu hls si ic
3
+ set beautify
4
+ set ts = 2
5
+ cmap w!! %!sudo tee %
6
+ set shiftwidth = 2
7
+ set ruler
8
+ set nowrap
9
+ set smarttab
10
+ set nocompatible
Original file line number Diff line number Diff line change
1
+ # The following lines were added by compinstall
2
+ zstyle ' :completion:*' completer _complete _ignored _list
3
+ zstyle ' :completion:*' list-colors ' $[(s.:.)LS_COLORS]'
4
+ zstyle ' :completion:*' matcher-list ' m:{[:lower:]}={[:upper:]}'
5
+ zstyle ' :completion:*' max-errors 1 numeric
6
+ zstyle ' :completion:*' prompt ' `%e' \' ' typos'
7
+ zstyle :compinstall filename ' /home/alisdair/.zshrc'
8
+
9
+ autoload -Uz compinit
10
+ compinit
11
+ # End of lines added by compinstall
12
+ # Lines configured by zsh-newuser-install
13
+ HISTFILE=~ /.zhistfile
14
+ HISTSIZE=2000
15
+ SAVEHIST=2000
16
+ setopt appendhistory autocd notify
17
+ setopt HIST_IGNORE_DUPS
18
+ bindkey -e
19
+ # End of lines configured by zsh-newuser-install
20
+ autoload colors
21
+ alias ls=" ls -FG"
22
+ alias ll=" ls -lhAFG"
23
+
24
+ if [[ $EUID == 0 ]]
25
+ then
26
+ PROMPT=$' %{\e [1;31m%}%n@%m %{\e [1;34m%}%~ #%{\e [0m%} ' # user dir %
27
+ else
28
+ PROMPT=$' %{\e [1;32m%}%n%{\e [1;30m%}@%{\e [1;35m%}%m %{\e [1;34m%}%~ %#%{\e [0m%} ' # root dir #
29
+ fi
30
+ RPROMPT=$' %{\e [1;34m%} [%T]%{\e [0m%}' # right prompt with time
31
+
32
+ [[ -s " $HOME /.rvm/scripts/rvm" ]] && . " $HOME /.rvm/scripts/rvm" # Load RVM function
33
+
You can’t perform that action at this time.
0 commit comments