Initial commit
This commit is contained in:
commit
3f6428ca87
7
dot_zsh-local.sh
Normal file
7
dot_zsh-local.sh
Normal 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
46
dot_zshrc
Normal 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
|
Loading…
Reference in New Issue
Block a user