update prep
This commit is contained in:
5
.bashrc
5
.bashrc
@@ -75,7 +75,7 @@ source /usr/share/fzf/key-bindings.bash
|
||||
source /usr/share/fzf/completion.bash
|
||||
|
||||
#use ripgrep with fzf
|
||||
export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
||||
#export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
||||
#export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||
|
||||
#bat instead of cat
|
||||
@@ -93,6 +93,8 @@ export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
#bind ctrl-p to text editor
|
||||
alias fzfcmd='fzf --bind "enter:execute($EDITOR {})"'
|
||||
bind -x '"\C-p": fzfcmd;'
|
||||
#---end fzf setup---
|
||||
|
||||
|
||||
#setup bash history
|
||||
export HISTIGNORE="ls*:cd*:exit:ps*:history:pass*:gpg*:start*"
|
||||
@@ -105,6 +107,7 @@ export HISTCONTROL=ignoreboth:erasedups
|
||||
shopt -s histappend
|
||||
# export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S | '
|
||||
|
||||
#
|
||||
# if [ -d "$HOME/bin/Fiji.app" ]; then
|
||||
# alias fiji="~/bin/Fiji.app/ImageJ-linux64"
|
||||
# fi
|
||||
|
||||
Reference in New Issue
Block a user