-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_profile
More file actions
29 lines (24 loc) · 803 Bytes
/
Copy path.bash_profile
File metadata and controls
29 lines (24 loc) · 803 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
#!/usr/bin/env bash
# ~/.bash_profile: executed by bash for login shells
# This is the dotfiles .bash_profile file
# Your ~/.bash_profile should point here with:
# [[ -f ~/git/dotfiles/.bash_profile ]] && source ~/git/dotfiles/.bash_profile
# ===== Path Configuration =====
# Set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# ===== Environment Variables =====
export EDITOR="code -w"
export VISUAL=vim
export PAGER=less
# ===== Load .bashrc =====
# Get the aliases and functions from .bashrc
if [ -f ~/git/dotfiles/.bashrc ]; then
source ~/git/dotfiles/.bashrc
fi
# ===== Additional Login Configuration =====
# Add any login-specific configurations here