blob: 75e1d25d8ece5a84307647544b11d6e3984284eb (
plain) (
blame)
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
|
if [ -d "${HOME}/bin" ]; then
pathprepend "${HOME}/bin"
pathprepend "${HOME}/bin/$(uname -n)"
fi
if [ -d "${HOME}/.local/bin" ]; then
pathprepend "${HOME}/.local/bin"
fi
export GOPATH="${HOME}/go"
if [ -d "${GOPATH}" ]; then
pathappend "${GOPATH}/bin"
fi
if [ -d "${HOME}/.cargo/bin" ]; then
pathappend "${HOME}/.cargo/bin"
fi
. "$HOME/.config/sway/env"
# Use the new build backend in docker
export DOCKER_BUILDKIT=1
# configure gpg-agent
export GPG_TTY=$(tty)
# Set less default options
export LESS='--hilite-search --hilite-unread --long-prompt --raw-control-chars --chop-long-lines --quit-if-one-screen --no-init'
# Set the rsync ssh command to use by default
export RSYNC_RSH='ssh -T -x -o Compression=no'
# zettelkasten
export ZK_NOTEBOOK_DIR=${HOME}/Documents/zk
# exit ctrl-r early
export FZF_CTRL_R_OPTS='--bind=ctrl-space:print-query'
# zeit cli db path
export ZEIT_DB=${XDG_STATE_HOME:-$HOME}/.zeit.db
# replace docker with nerdctl
export DOCKER='doas nerdctl'
export ENTER_DRIVER=$DOCKER
## private use area:
|