-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile
More file actions
36 lines (30 loc) · 871 Bytes
/
Copy pathprofile
File metadata and controls
36 lines (30 loc) · 871 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
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# add system-specific aliases
if [ -f "$HOME/.aliases" ]; then
. "$HOME/.aliases"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export VISUAL=vim
export EDITOR="$VISUAL"
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export HISTTIMEFORMAT="%d.%m.%y %T "
export LESS='-R'
export LESSOPEN='|~/.lessfilter %s'
PROMPT_COMMAND='pwd2=$(sed "s:\([^/]\)[^/]*/:\1/:g" <<<$PWD)'
PS1='\[\e[01;30m\]\t \[\e[1;49;35m\]\u@\h \[\e[00;34m\]$pwd2 \[\e[00m\]\$ '
alias howmuch="du -hs"
# Locale settings
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8