-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile
More file actions
33 lines (24 loc) · 705 Bytes
/
profile
File metadata and controls
33 lines (24 loc) · 705 Bytes
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
# vim: filetype=sh
export LC_ALL=en_US.utf8
export TERM=xterm-256color
shopt -s checkwinsize
stty erase "^?"
# Helper functions
source ~/.dotfiles/functions.sh
export EDITOR=vim
# Some manually pre-built tools, like vim & clang-format
field_prepend PATH ~/bin
# Quicker and better search with fzf through ag, or rg
if type ag &> /dev/null; then
export FZF_DEFAULT_COMMAND='ag -p ~/.gitignore -g ""'
elif type rg &> /dev/null; then
export FZF_DEFAULT_COMMAND='rg --files --hidden'
fi
export PS1=$(build_ps_one)
export LS_COLORS=$(build_ls_colors)
if [ -r $HOME/.aliases ]; then
. $HOME/.aliases
fi
if [ -r $HOME/.profile.asachkov.internal ]; then
. $HOME/.profile.asachkov.internal
fi