blob: a602c3c6312ee20a842f8fe1a69b1d15e291db10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
setopt correct
setopt histignoredups
setopt sharehistory
setopt incappendhistory
setopt interactivecomments
HISTFILE=~/.zsh_history
HISTSIZE=5000
SAVEHIST=5000
# bindkey -v
export KEYTIMEOUT=1
autoload -Uz compinit && compinit
autoload -Uz bashcompinit && bashcompinit
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
PROMPT='%F{green}%n@%m%f %F{yellow}%~%f '
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PATH="$HOME/.local/omnisharp:$PATH"
export PATH="$HOME/.dotnet/tools:$PATH"
alias grep='grep --color=auto'
alias ll='lsd -all'
alias l='lsd -l'
alias lg='lazygit'
alias v='nvim'
alias vi='nvim'
alias vim='nvim'
alias c='clear'
alias wiki='wikiman'
bindkey -M vicmd 'jj' vi-cmd-mode
bindkey -M viins 'jj' vi-cmd-mode
AUTOSUGGEST_DIR="${HOME}/.zsh-autosuggestions"
if [ ! -d "$AUTOSUGGEST_DIR" ]; then
git clone https://github.com/zsh-users/zsh-autosuggestions "$AUTOSUGGEST_DIR"
fi
source "$AUTOSUGGEST_DIR/zsh-autosuggestions.zsh"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
if command -v tmux >/dev/null 2>&1; then
if [ -z "$TMUX" ] && [ -n "$PS1" ] && [[ "$TERM" != "linux" ]]; then
tmux attach -t default || tmux new -s default
fi
fi
PATH=~/cli/sf/bin:$PATH
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"
|