-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
45 lines (36 loc) · 1.27 KB
/
Copy path.zshrc
File metadata and controls
45 lines (36 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
44
45
# _
# _______| |__ _ __ ___
# |_ / __| '_ \| '__/ __|
# _ / /\__ \ | | | | | (__
# (_)___|___/_| |_|_| \___|
#
# -----------------------------------------------------
# ML4W zshrc loader
# -----------------------------------------------------
# DON'T CHANGE THIS FILE
# You can define your custom configuration by adding
# files in ~/.config/zshrc
# or by creating a folder ~/.config/zshrc/custom
# with copies of files from ~/.config/zshrc
# -----------------------------------------------------
# -----------------------------------------------------
# Load modular configarion
# -----------------------------------------------------
for f in ~/.config/zshrc/*; do
if [ ! -d $f ] ;then
c=`echo $f | sed -e "s=.config/zshrc=.config/zshrc/custom="`
[[ -f $c ]] && source $c || source $f
fi
done
# -----------------------------------------------------
# Load single customization file (if exists)
# -----------------------------------------------------
if [ -f ~/.zshrc_custom ] ;then
source ~/.zshrc_custom
fi
# bun completions
[ -s "/home/alain/.bun/_bun" ] && source "/home/alain/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
. "$HOME/.local/bin/env"