diff options
Diffstat (limited to 'zsh')
| m--------- | zsh/.local/share/zsh/fast-syntax-highlighting | 0 | ||||
| -rw-r--r-- | zsh/.profile | 5 | ||||
| l--------- | zsh/.zshenv | 1 | ||||
| -rw-r--r-- | zsh/.zshrc | 35 |
4 files changed, 41 insertions, 0 deletions
diff --git a/zsh/.local/share/zsh/fast-syntax-highlighting b/zsh/.local/share/zsh/fast-syntax-highlighting new file mode 160000 +Subproject 9a5a4a5199e7e480009e10433d0d8c5be91f31d 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)" |
