commit 3f6428ca87198d3b2e86e7e7108d0385e6fe6e1d Author: Jan Eitzinger Date: Sat Feb 11 14:00:55 2023 +0100 Initial commit diff --git a/dot_zsh-local.sh b/dot_zsh-local.sh new file mode 100644 index 0000000..d7e1332 --- /dev/null +++ b/dot_zsh-local.sh @@ -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 diff --git a/dot_zshrc b/dot_zshrc new file mode 100644 index 0000000..766ec5d --- /dev/null +++ b/dot_zshrc @@ -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