-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
45 lines (34 loc) · 777 Bytes
/
bashrc
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
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
# Uncomment this for laptop environments
# export PD_LAPTOP="1"
# zoxide
eval "$(zoxide init bash)"
# fzf related setup
source "$HOME/.shell/fzf"
# aliases
source "$HOME/.shell/aliases"
# exports
source "$HOME/.shell/exports"
# Local customizations
if [ -f "$HOME/.shell/local" ]; then
source "$HOME/.shell/local"
fi
# Create TODO file
if [ -e "$HOME/todofile.pl" ]; then
$HOME/todofile.pl > /dev/null
fi