-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
52 lines (36 loc) · 1.4 KB
/
.exports
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
44
45
46
47
48
49
50
51
52
#!/usr/bin/env bash
# Make emacs default editor
export EDITOR="emacs"
# Make urxvt default terminal on linux
if [[ ! "$OSTYPE" =~ ^darwin ]]; then
export TERM="rxvt-unicode-256color";
else
export TERM="xterm-ghostty";
fi
# Increase the maximum number of lines contained in the history file
export HISTSIZE='32768'
# Increase the maximum number of commands to remember
export HISTFILESIZE="${HISTSIZE}"
# Ignore duplicate commands in the history
export HISTCONTROL="ignoreboth"
# Prefer US English and use UTF-8.
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
# Make some commands not show up in history
export HISTIGNORE=" *:ls:cd:cd -:pwd:exit:date:* "
# Make new shells get the history lines from all previous
# shells instead of the default "last window closed" history
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
# Highlight section titles in manual pages.
export LESS_TERMCAP_md="${yellow}"
# Don’t clear the screen after quitting a manual page.
export MANPAGER='less -X'
# Avoid issues with `gpg` as installed via Homebrew.
# https://stackoverflow.com/a/42265848/96656
export GPG_TTY=$(tty)
# colored GCC warnings and errors
export GCC_COLORS="error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01"
# Hide the “default interactive shell is now zsh” warning on macOS.
export BASH_SILENCE_DEPRECATION_WARNING=1
# Set Wastime home
export WASMTIME_HOME="$HOME/.wasmtime"