-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc.local
43 lines (33 loc) · 1.01 KB
/
dot_zshrc.local
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
alias ssh-pw='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias scp-pw='scp -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias tmpdir='cd $(mktemp -d)'
alias vim="nvim"
alias vimdiff="nvim -d"
export EDITOR=nvim
PATH=$PATH:~/bin
SAVEHIST=50000
HISTFILESIZE=50000
HISTSIZE=50000
setopt inc_append_history
setopt share_history
export PATH=$HOME/.local/bin:$PATH
export PATH=/usr/local/go/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
mkdir -p $HOME/.local/share/zsh-completions
just --completions zsh > $HOME/.local/share/zsh-completions/_just
fpath=($HOME/.local/share/zsh-completions $fpath)
autoload -Uz compinit
compinit
# disable grml prompt and turn on starship
prompt off
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
eval "$(atuin init zsh --disable-up-arrow)"
ehere () {
explorer.exe .
}
# nargo stuff
export NARGO_HOME="/home/dkales/.nargo"
export PATH="$PATH:$NARGO_HOME/bin"
eval "$(keychain --eval --agents ssh id_ed25519 --quiet)"