summaryrefslogtreecommitdiff
path: root/.config/.profile
blob: 545f089cab92609954ac7ea0ae408b548d517edb (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
export PLAN9=$HOME/personal/plan9
export PATH="$HOME/personal/bin:$HOME/.local/bin:$PATH:$HOME/go/bin:$PLAN9/bin"

export EDITOR=nvim
export HOMEBREW_EDITOR=nvim

# Shell settings
export shColor=green
export OS="$(uname -s)"
if [[ $OS == "Darwin" ]]; then
    export comSym=''
    eval "$(/opt/homebrew/bin/brew shellenv)"
elif [[ $OS == 'Linux' ]]; then
    export comSym='λ'
elif [[ $OS == 'SunOS' ]]; then
    export comSym='Σ'
elif [[ $OS == 'FreeBSD' ]]; then
    export comSym='Φ'
elif [[ $OS == 'OpenBSD' ]]; then
    export comSym='Ω'
elif [[ $OS == 'NetBSD' ]]; then
    export comSym='μ'
fi

# Setting up XDG Dirs
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share

# For Git Signing with GPG
export GPG_TTY=$(tty)

# Moving Folder and Files from ~/
export LESSHISTFILE=-
export ZDOTDIR="$XDG_CONFIG_HOME"/shells/zsh

export NVIM_COLORSCHEME='bluloco'
export NVIM_BACKGROUND='dark'