update prep

This commit is contained in:
ackman678
2024-04-17 13:58:46 -04:00
parent bf837a53f5
commit 22c904419a
3 changed files with 44 additions and 33 deletions

View File

@@ -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