Initial commit

This commit is contained in:
Jan Eitzinger 2023-02-11 14:00:55 +01:00
commit 3f6428ca87
2 changed files with 53 additions and 0 deletions

7
dot_zsh-local.sh Normal file
View File

@ -0,0 +1,7 @@
eval $(keychain --eval --agents ssh id_rsa)
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
alias vim=nvim
export PERLBREW_ROOT=$HOME/perl5/perlbrew
export PERLBREW_HOME=$HOME/.perlbrew
export PATH=$HOME/local/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/ruby/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.symfony/bin:/usr/local/opt/mariadb@10.4/bin:$PATH

46
dot_zshrc Normal file
View File

@ -0,0 +1,46 @@
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="powerlevel10k/powerlevel10k"
ZSH_DISABLE_COMPFIX="true"
# CASE_SENSITIVE="true"
DISABLE_AUTO_TITLE="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
COMPLETION_WAITING_DOTS="false"
zle -N zle-line-init
zle -N zle-keymap-select
export KEYTIMEOUT=1
plugins=(
vi-mode
golang
z
tmux
fzf-z
# fzf-tab
fd
fossil
zsh-aliases-exa
zsh-autosuggestions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export EDITOR='vim'
export GOPATH=$HOME/go
export GPG_TTY=$TTY
export FZF_DEFAULT_COMMAND='fd --type file --hidden --no-ignore'
source $HOME/.zsh-local.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh