repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some vim files, globstar in bash, tmux interactive pane move, add urls, better...
[dotfiles.git]
/
shell
/
.bashrc
diff --git
a/shell/.bashrc
b/shell/.bashrc
index
ddbfa89
..
dbac23d
100644
(file)
--- a/
shell/.bashrc
+++ b/
shell/.bashrc
@@
-1,9
+1,8
@@
-shopt -s checkwinsize
+shopt -s checkwinsize
histappend globstar
export HISTCONTROL=erasedups
export HISTFILESIZE=NOTHING
export HISTSIZE=NOTHING
export HISTCONTROL=erasedups
export HISTFILESIZE=NOTHING
export HISTSIZE=NOTHING
-shopt -s histappend
export PROMPT_COMMAND='history -a'
export TERMINAL=~/projects/st/st
export PROMPT_COMMAND='history -a'
export TERMINAL=~/projects/st/st
@@
-24,9
+23,6
@@
export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
-# transparency in some applications such as mutt
-export COLORFGBG="default;default"
-
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias vi=vim
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias vi=vim
@@
-38,7
+34,7
@@
alias tmux='tmux -f ~/.config/tmux/config'
set_prompt(){
last_c=$?
set_prompt(){
last_c=$?
- PS1='\
u@\h
'
+ PS1='\
H
'
[[ $last_c -ge 1 ]] && PS1="($last_c) $PS1"
PS1="$PS1\w\$ "
}
[[ $last_c -ge 1 ]] && PS1="($last_c) $PS1"
PS1="$PS1\w\$ "
}