summaryrefslogtreecommitdiff
path: root/.config/zsh/exports.zsh
blob: dc4c14696d893bcc2623394a83c64dbecbe7519f (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
# Adds `~/.local/bin` to $PATH
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"

# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"

zle_highlight=('paste:none')

autoload -U colors && colors

# For autocomplete to work
autoload -U +X compinit && compinit
autoload -U +X bashcompinit && bashcompinit

# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history

# Preferred editor for local and remote sessions
 if [[ -n $SSH_CONNECTION ]]; then
   export EDITOR='nvim'
 else
   export EDITOR='nvim'
 fi

export CLICOLOR=1

export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
PATH=$(pyenv root)/shims:$PATH
eval "$(pyenv init -)"

# Rust
export PATH="$HOME/.cargo/bin:$PATH"

export GEM_HOME="$HOME/.gem"

# Created by `pipx` on 2021-03-01 21:32:03
export PATH="$PATH:/home/aktersnurra/.local/bin"

export BROWSER=brave
export TERMINAL=alacritty