-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bash_variables
73 lines (59 loc) · 2.23 KB
/
.bash_variables
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
# User specific global variables
# Color Variables
export DEFAULT='\033[0m'
export RED='\033[00;31m'
export GREEN='\033[00;32m'
export YELLOW='\033[00;33m'
export BLUE='\033[00;34m'
export PURPLE='\033[00;35m'
export CYAN='\033[00;36m'
export LIGHTGRAY='\033[00;37m'
export LRED='\033[01;31m'
export LGREEN='\033[01;32m'
export LYELLOW='\033[01;33m'
export LBLUE='\033[01;34m'
export LPURPLE='\033[01;35m'
export LCYAN='\033[01;36m'
export WHITE='\033[01;37m'
# Color variable list (Keep arrays mirrowed)
export COLORLIST=(${DEFAULT} ${RED} ${GREEN} ${YELLOW} ${BLUE} ${PURPLE} ${CYAN} ${LIGHTGRAY} ${LRED} ${LGREEN} ${LYELLOW} ${LBLUE} ${LPURPLE} ${LCYAN} ${WHITE})
export COLORLISTNAME=("DEFAULT" "RED" "GREEN" "YELLOW" "BLUE" "PURPLE" "CYAN" "LIGHTGRAY" "LRED" "LGREEN" "LYELLOW" "LBLUE" "LPURPLE" "LCYAN" "WHITE")
# Bell character used to set send urgecny to WM
if [ -n "$DISPLAY" ]; then
ALERT='\a'
else
ALERT=''
fi
# PS1 style (Dracula based)
export PS1="$ALERT[\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;123m\]\u\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;84m\]\h\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;183m\]\w\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]]\n\[$(tput sgr0)\]\[\033[38;5;10m\]\\$>\[$(tput sgr0)\]"
# XMonad config and related applications
export XMONAD_HOME="$HOME/.xmonad"
# Extra bin locations
export PATH="$HOME/.local/bin:$HOME/bin:/opt/bin:$PATH"
# Cabal Path
export PATH="$HOME/.cabal/bin:$PATH"
# Cargo Path
export PATH="$HOME/.cargo/bin:$PATH"
# ghcup Path
export PATH="$HOME/.ghcup/bin:$PATH"
# Android shit
export PATH="/opt/android-sdk/cmdline-tools/latest/bin:$PATH"
export PATH="/opt/android-sdk/platform-tools:$PATH"
# Unset ls colors variables to use terminal's colors
unset LS_COLORS
# Default editor
export VISUAL="emacsclient"
export EDITOR=$VISUAL
# ClassPath for Java
export CLASSPATH=$CLASSPATH:/opt/ClassPath/*:/usr/share/java/*
# GO Paths for GO Lang
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
# Usefull personal paths
export WORKSPACE=$HOME/Workspace
export MYGHC=$WORKSPACE/ghc/
# Format hisyory file to show date and time
HISTTIMEFORMAT="%d/%m/%y %T "
HISTSIZE=8001