forked from pkoch/dotstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zprofile.tmpl
47 lines (40 loc) · 1.14 KB
/
dot_zprofile.tmpl
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
#.zshrc
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=100000
setopt autocd beep nomatch notify
unsetopt extendedglob
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/jschultz/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
{{ if eq .chezmoi.os "linux" -}}
# Linux Specific Configuration
BREW_HOME="/home/linuxbrew/.linuxbrew"
{{ if (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
# WSL-specific configuration
eval "$($BREW_HOME/bin/brew shellenv)"
alias ssh='ssh.exe'
alias ssh-add='ssh-add.exe'
{{- end }}
{{- end }}
{{ if eq .chezmoi.os "darwin" -}}
# MacOS Specific Configuration
BREW_HOME="/opt/homebrew/bin"
eval "$($BREW_HOME/brew shellenv)"
export PATH=$PATH:/Users/schultjo/.toolbox/bin
{{- end }}
# Init Starship for prompt customization
eval "$(starship init zsh)"
# Init Frum (ruby version manager)
eval "$(frum init)"
# Work Aliases
{{- if .email | contains "amazon.com" }}
alias bb=brazil-build
alias b=brazil
alias bbr=brazil-recursive-command brazil-build
{{- end}}