-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
32 lines (26 loc) · 1 KB
/
.zshrc
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
# Aliases
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias vi=nvim
alias vim=nvim
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
alias lazydot='lazygit --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
alias cat='bat --style=numbers'
alias tgit='git -C $HOME/.local/share/task/'
export EDITOR=nvim
export ZK_NOTEBOOK_DIR=$HOME/notebook/
# export SSH_AUTH_SOCK='$XDG_RUNTIME_DIR/ssh-agent.socket'
# Make sure ssh-agent is running
eval 'keychain 2>/dev/null'
source $HOME/.keychain/$HOST-sh
# Starship
export STARSHIP_CONFIG=~/.config/starship/starship.toml
eval "$(starship init zsh)"
# Activate syntax highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Disable underline when highlighting
(( ${+ZSH_HIGHLIGH_STYLES} )) || typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[path]=none
ZSH_HIGHLIGHT_STYLES[path_prefix]=none
# Activate autosuggestions
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh