-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
executable file
·32 lines (21 loc) · 757 Bytes
/
Copy path.bashrc
File metadata and controls
executable file
·32 lines (21 loc) · 757 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
#!/usr/bin/env bash
# .bashrc
# If not running interactively, do nothing
[[ $- != *i* ]] && return
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
source $XDG_CONFIG_HOME/sh/bashrc
# >>> juliaup initialize >>>
# !! Contents within this block are managed by juliaup !!
case ":$PATH:" in
*:"${XDG_DATA_HOME:-$HOME/.local/share}/juliaup/bin":*)
;;
*)
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/juliaup/bin${PATH:+:${PATH}}"
;;
esac
# Tab completion for juliaup and julia channel selection
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/julia/juliaup/completions/bash.sh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/julia/juliaup/completions/bash.sh"
# <<< juliaup initialize <<<