-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bash_profile
More file actions
executable file
·31 lines (24 loc) · 839 Bytes
/
.bash_profile
File metadata and controls
executable file
·31 lines (24 loc) · 839 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
# .bash_profile
# Un-comment for profiling
# PS4='+ $(date "+%s.%N")\011 '
# exec 3>&2 2>/tmp/bashstart.$$.log
# set -x
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# ~/bin/mkpath
[[ -f ~/.mkpath ]] && source ~/.mkpath
# Support for org-protocol
if command -v gconftool-2 >/dev/null 2>&1 && [ -n "${DISPLAY:-}" ] && [ -z "${SSH_CLIENT:-}" ]; then
gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/command "$(command -v emacsclient) %s" --type String
gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/enabled --type Boolean true
fi
# Screen / Tmux setup
if [ -f /usr/share/doc/tmux/examples/bash_completion_tmux.sh ]; then
source /usr/share/doc/tmux/examples/bash_completion_tmux.sh
fi
# Un-comment when profiling
# set +x
# exec 2>&3 3>&-
export PATH="$HOME/.cargo/bin:$PATH"