-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.exports
More file actions
43 lines (32 loc) · 1.27 KB
/
.exports
File metadata and controls
43 lines (32 loc) · 1.27 KB
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
#!/bin/bash
export LANG=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8
export EDITOR=/usr/bin/vim
#export TERMINAL="urxvt";
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=50000000;
export HISTFILESIZE=$HISTSIZE
export HISTCONTROL=ignoredups
export HISTIGNORE=" *:ls:cd:cd -:pwd:exit:date:* --help:* -h:pony:pony add *:pony update *:pony save *:pony ls:pony ls *";
# Dont clear the screen after quitting a manual page
export MANPAGER="less -X";
# if it's an ssh session export GPG_TTY
if [[ -n "$SSH_CLIENT" ]] || [[ -n "$SSH_TTY" ]]; then
GPG_TTY=$(tty)
export GPG_TTY
fi
# set xdg data dirs for dmenu to source
export XDG_DATA_DIRS=/usr/share/
# npm local
#export PATH=~/.npm-global/bin:$PATH
NPM_CONFIG_PREFIX=~/.npm-global
[ -d /data/.backup/.bup ] && export BUP_DIR=/data/.backup/.bup
[ -d $HOME/.local/bin ] && export PATH=$PATH:$HOME/.local/bin
# golang
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
[[ -d $HOME/.poetry/bin ]] && export PATH=$PATH:$HOME/.poetry/bin
[[ -d $HOME/.serverless/bin ]] && export PATH=$PATH:$HOME/.serverless/bin
[[ -d $HOME/.linkerd2/bin ]] && export PATH=$PATH:$HOME/.linkerd2/bin
[[ -d $HOME/.pulumi/bin ]] && export PATH=$PATH:$HOME/.pulumi/bin
export ARM_SUBSCRIPTION_ID=$(az account show | jq -r .id)