blob: e8802f6329e6743fb2203241fc8a26f6a0b543b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
export HISTFILE=$HOME/.histfile
export HISTSIZE=1000
export SAVEHIST=1000
bindkey -e
zstyle :compinstall filename "$HOME/.zshrc"
autoload -Uz compinit
compinit
PS1="$ "
# go
export GOPATH="$HOME/gopath"
export LOCAL_GO="$HOME/go"
# perl
export PERL_UNICODE="AS"
export PERL_READLINE_NOWARN="yes"
# raku
export RAKU_ROOT="$HOME/.raku"
export RAKUPATHS="$RAKU_ROOT/bin:$RAKU_ROOT/share/perl6/vendor/bin:$RAKU_ROOT/share/perl6/core/bin:$RAKU_ROOT/share/perl6/site/bin"
# paths
export HOMEBINPATHS="$HOME/local/bin:$HOME/bin:$GOPATH/bin:$PERL5/bin:$LOCAL_GO/bin:$RAKUPATHS"
export PATH="$HOMEBINPATHS:$PATH"
# text
export ALTERNATE_EDITOR="emacs" EDITOR="emacsclient" VISUAL="emacsclient"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# zsh
alias c=clear
alias h=history
setopt autopushd pushdminus pushdsilent pushdtohome
setopt autocd
setopt cdablevars
setopt interactivecomments
setopt noclobber
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_SPACE
setopt SH_WORD_SPLIT
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
zstyle ':completion:*:cd:*' ignore-parents parent pwd
# GCloud
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/brad/google-cloud-sdk/path.zsh.inc' ]; then . '/home/brad/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/brad/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/brad/google-cloud-sdk/completion.zsh.inc'; fi
export GCLOUD_PROJECT=brad0-242400
clear;
|