From 94fb4489afcf8bfb7607ceb711d3bb29fb64cdda Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Wed, 3 Nov 2021 15:35:34 -0400 Subject: clean up --- zsh/.local/share/zsh/fast-syntax-highlighting | 1 + zsh/.profile | 5 ++++ zsh/.zshenv | 1 + zsh/.zshrc | 35 +++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 160000 zsh/.local/share/zsh/fast-syntax-highlighting create mode 100644 zsh/.profile create mode 120000 zsh/.zshenv create mode 100644 zsh/.zshrc (limited to 'zsh') diff --git a/zsh/.local/share/zsh/fast-syntax-highlighting b/zsh/.local/share/zsh/fast-syntax-highlighting new file mode 160000 index 0000000..9a5a4a5 --- /dev/null +++ b/zsh/.local/share/zsh/fast-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 9a5a4a5199e7e480009e10433d0d8c5be91f31d4 diff --git a/zsh/.profile b/zsh/.profile new file mode 100644 index 0000000..e297b42 --- /dev/null +++ b/zsh/.profile @@ -0,0 +1,5 @@ +# add user's bin directory to path +if [ -d $HOME/.local/bin ] +then + export PATH=$HOME/.local/bin:$PATH +fi diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1 @@ +.profile \ No newline at end of file diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..6d93adf --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,35 @@ +# +# g3tchoo's zshrc +# + +# completion +autoload -U compinit +zmodload zsh/complist +zstyle ':completion:*' menu select +compinit + +# options +setopt autocd +setopt appendhistory +setopt sharehistory +setopt incappendhistory +set -o emacs + +# enable history +HISTFILE="$HOME/.cache/zsh/history" +HISTSIZE=100 +SAVEHIST=1000 + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' +alias la='ls -a' +alias g='git' + +source $HOME/.local/share/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +eval "$(starship init zsh)" -- cgit v1.2.3