-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
57 lines (44 loc) · 966 Bytes
/
.bashrc
File metadata and controls
57 lines (44 loc) · 966 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ~/.bashrc
#
# Variables
if [ -f ~/.bash_variables ]; then
. ~/.bash_variables
fi
# Aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Functions
if [ -f ~/.bash_functions ]; then
. ~/.bash_functions
fi
# Functions
if [ -f ~/.bash_prompt ]; then
. ~/.bash_prompt
fi
# FuzzyFinder
if [ -f ~/.fzf.bash ]; then
source ~/.fzf.bash
fi
# Completion scripts
if [ -d /etc/bash_completion.d ]; then
source /etc/bash_completion.d/*
fi
if [ -d /usr/local/etc/bash_completion.d/ ]; then
for f in /usr/local/etc/bash_completion.d/*; do source $f; done
fi
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
if [ -f ~/.kube-completion.bash ]; then
. ~/.kube-completion.bash
fi
if [ -f ~/.helm-completion.bash ]; then
. ~/.helm-completion.bash
fi
if [ -f ~/.helmfile-completion.bash ]; then
. ~/.helmfile-completion.bash
fi
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
return 0