Set initial Config
This commit is contained in:
20
.zshrc
20
.zshrc
@@ -1,6 +1,24 @@
|
||||
# Config folder
|
||||
export ZSH=$HOME/.config/zsh
|
||||
export HISTFILE=$ZSH/.zsh_history
|
||||
|
||||
# History
|
||||
export HISTFILE=$XDG_CACHE_HOME/zsh/.zsh_history
|
||||
export HISTSIZE=10000
|
||||
export SAVEHIST=10000
|
||||
setopt HIST_IGNORE_ALL_DUPS
|
||||
setopt HIST_FIND_NO_DUPS
|
||||
|
||||
# Bitwarden ssh agent
|
||||
export SSH_AUTH_SOCK=/home/lumen/.bitwarden-ssh-agent.sock
|
||||
|
||||
# Editors
|
||||
export EDITOR="nvim"
|
||||
export VISUAL="nvim"
|
||||
|
||||
# Autocomplete
|
||||
autoload -U compinit; compinit
|
||||
source $ZSH/modules/completion.zsh
|
||||
|
||||
# Prompt
|
||||
fpath=($ZSH/modules $fpath)
|
||||
autoload -Uz prompt_init; prompt_init
|
||||
|
||||
Reference in New Issue
Block a user