Update bash config.
This commit is contained in:
parent
914ad87286
commit
162d649279
4
bashrc
4
bashrc
@ -14,7 +14,7 @@ HISTFILE=~/.bash_history
|
|||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
PROMPT_COMMAND="history -a; history -c; history -r"
|
PROMPT_COMMAND="history -a; history -c; history -r"
|
||||||
. ~/etc/liquidprompt/liquidprompt
|
type -t starship >/dev/null && eval "$(starship init bash)"
|
||||||
|
|
||||||
shopt -s autocd
|
shopt -s autocd
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
@ -31,4 +31,4 @@ if type -t __git_complete >/dev/null; then
|
|||||||
__git_complete gp _git_push
|
__git_complete gp _git_push
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -f ~/.fzf/shell/key-bindings.bash && . ~/.fzf/shell/key-bindings.bash
|
test -f /usr/share/fzf/shell/key-bindings.bash && . /usr/share/fzf/shell/key-bindings.bash
|
||||||
|
10
commonshrc
10
commonshrc
@ -10,17 +10,15 @@ alias ls='ls --color=auto'
|
|||||||
export EMAIL='gebner@gebner.org'
|
export EMAIL='gebner@gebner.org'
|
||||||
test -x /usr/bin/lesspipe && eval `lesspipe`
|
test -x /usr/bin/lesspipe && eval `lesspipe`
|
||||||
|
|
||||||
export MPD_HOST=127.0.0.1 MPD_PORT=6600
|
if type -t nvim >/dev/null; then
|
||||||
|
export EDITOR="$(command -v nvim)"
|
||||||
export EDITOR="`which nvim || which vim || which vi`"
|
alias vi="$EDITOR"
|
||||||
alias vi="$EDITOR"
|
fi
|
||||||
|
|
||||||
export BROWSER=xdg-open
|
export BROWSER=xdg-open
|
||||||
|
|
||||||
alias udetokei='tokei $(rg --files)'
|
alias udetokei='tokei $(rg --files)'
|
||||||
|
|
||||||
alias time=$(which time)
|
|
||||||
|
|
||||||
# passc
|
# passc
|
||||||
passc() {
|
passc() {
|
||||||
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
|
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
|
||||||
|
Loading…
Reference in New Issue
Block a user