-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
66 lines (47 loc) · 1.92 KB
/
.bashrc
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
#
# ~/.bashrc
#
# https://wiki.archlinux.org/index.php/SSH_keys#Keychain
eval `keychain --eval --agents ssh id_rsa`
#######################################################
### # ### ### ### ## # # ### ###
# # # # # # # # # ## ## # # #
# ## # # #### ### ### # # # # # ### #
# # # # # # # # # # # # #
### # # # # # ## # # # #
#######################################################
#source $HOME/git-prompt.sh
#source $HOME/git-completion.sh
# Ubuntu 18.04.2 LTS - sudo apt-get install git-core bash-completion
source /usr/share/bash-completion/completions/git
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch GIT_PS1_SHOWCOLORHINTS=1
export GIT_PS1_HIDE_IF_PWD_IGNORED=1
txtylw='\e[1;33m' # Yellow
txtwht='\e[0;37m' # White
txtgre='\e[0;32m' # Green
txtcyn='\e[0;36m' # Cyan
fgcolor="\033[0m" # Unsets color to term's fg color
gitprompt='$(__git_ps1 "(%s)")'
# @see `man bash`#prompting for more options
#export PS1="\[$txtcyn\][\A] \u:\[$txtgre\]\W\[$txtgre\]$gitprompt\[$txtwht\] \$ \[$fgcolor\]"
triangle=$'\uE0B0'
export PS1=" \u \[$txtcyn\][\t]\[$fgcolor\]\[$txtgre\] \w\[$txtwht\] $triangle\[$txtylw\]$gitprompt\[$txtwht\] \$ \[$fgcolor\]"
##########################
## # # ## ###
# # # # # # #
#### # # #### ##
# # # # # # #
# # ### # # # ###
##########################
## system
alias j_bootclean='dpkg -l | grep -Ei "linux-headers|linux-image"'
## dev
alias sbt='sbt -mem 3072'
alias sbtrelease='sbt -mem 3072 "release with-defaults"'
# sudo apt install qgit
alias j_ggui='qgit'
## <?>
# @see https://github.com/joakim-ribier/gttp
alias j_gttp='~/go/src/github.com/joakim-ribier/gttp/gttp ~/go/src/github.com/joakim-ribier/gttp/data.json'
## ENV ##