-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc.p10k
59 lines (47 loc) · 1.95 KB
/
.zshrc.p10k
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
56
57
58
59
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
export PATH=$PATH:/home/vitorfreitas/.cargo/bin
export PATH=$PATH:/home/vitorfreitas/.bin
export PATH=$PATH:/home/vitorfreitas/.local/bin
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source ~/.git.zsh
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[3~" delete-char
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
alias ls="exa --icons"
alias cat="bat"
alias top="ytop"
alias vim="lvim"
alias zshconfig="nvim ~/.zshrc"
alias vimconfig="vim ~/.config/lvim/config.lua"
alias vimplugs="vim ~/.config/nvim/plugins.vim"
alias work="cd ~/Work/QultureApp"
alias study="cd ~/Study"
alias freela="cd ~/Freela"
alias l="tree -a -L 1"
alias e="exit"
alias q="exit"
alias daily="git log --since=1.day --oneline --no-merges --author='Vitor Freitas'"
alias daily-monday="git log --since=3.day --oneline --no-merges --author='Vitor Freitas'"
alias ws="setsid ~/Downloads/WebStorm-213.6461.79/bin/webstorm.sh nosplash . &>/dev/null"
alias qr_install="bundle install && yarn install"
alias qr_db="docker-compose up postgres redis -d"
. /opt/asdf-vm/asdf.sh
# Plugins
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
autoload -Uz compinit && compinit
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory