summaryrefslogtreecommitdiff
path: root/config/shell/profile
blob: 40fef77c6b9b08e96cdf96d6b5c75635d0bb6dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Directories
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_STATE_HOME="$HOME"/.local/state
export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc
export ZSHRC="$XDG_CONFIG_HOME"/zsh/zshrc


# Environment variables
[ -x "$(command -v vim)" ] && export EDITOR="vim"
[ -x "$(command -v nvim)" ] && export EDITOR="nvim"
[ -x "$(command -v alacritty)" ] && export  TERMINAL="alacritty"
[ -x "$(command -v st)" ] && export  TERMINAL="st"
[ -x "$(command -v firefox)" ] && export  BROWSER="firefox"
[ -x "$(command -v qutebrowser)" ] && export  BROWSER="qutebrowser"

export MAKEFLAGS="-j8"		# Reduce compile times

lfcd () {
    cd "$(command lf -print-last-dir "$@")"
}