Initial commit
This commit is contained in:
commit
85f5be4658
18 changed files with 663 additions and 0 deletions
24
.config/zsh/.zprofile
Normal file
24
.config/zsh/.zprofile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# ZSH Configurations
|
||||
unsetopt autocd # Change directory just by typing its name (hurts performance)
|
||||
setopt interactivecomments # Allow comments in interactive mode
|
||||
setopt magicequalsubst # Enable filename expansion for arguments of the form ‘anything=expression’
|
||||
setopt nonomatch # Hide error message if there is no match for the pattern
|
||||
setopt notify # Report the status of background jobs immediately
|
||||
setopt numericglobsort # Sort filenames numerically when it makes sense
|
||||
setopt promptsubst # Enable command substitution in prompt
|
||||
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
|
||||
setopt hist_ignore_dups # ignore duplicated commands history list
|
||||
setopt hist_ignore_space # ignore commands that start with space
|
||||
setopt hist_verify # show command with history expansion to user before running it
|
||||
unsetopt ksharrays # 0-indexing arrays breaks highlighting
|
||||
|
||||
# Start gpg agent
|
||||
unset SSH_AGENT_PID
|
||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
fi
|
||||
eval $(gpg-agent --daemon)
|
||||
|
||||
export PATH=$PATH:~/.local/share/cargo/bin/
|
||||
|
||||
export PATH=~/.local/bin:$PATH # Highest precedence to local bin
|
||||
Loading…
Add table
Add a link
Reference in a new issue