config update
This commit is contained in:
7
.bashrc
7
.bashrc
@@ -5,7 +5,7 @@
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
# add from /etc/bash.bashrc defaultl with fix for alacritty window title bars
|
||||
# add from /etc/bash.bashrc default with fix for alacritty window title bars
|
||||
case ${TERM} in
|
||||
xterm*|rxvt*|Eterm|alacritty|aterm|kterm|gnome*)
|
||||
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||
@@ -43,6 +43,7 @@ alias tree='tree -CL 2'
|
||||
#alias vim='nvim'
|
||||
alias nv='nvim'
|
||||
export EDITOR=vim
|
||||
alias feh='feh --scale-down'
|
||||
|
||||
#alias xclip="xclip -selection clipboard"
|
||||
#alias ts="date --iso-8601='seconds' | tr -d '\n' | xclip"
|
||||
@@ -70,8 +71,8 @@ source /usr/share/fzf/completion.bash
|
||||
#export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||
export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
||||
|
||||
alias fzf='fzf --bind "enter:execute(nvim {})"'
|
||||
bind -x '"\C-p": fzf;'
|
||||
alias fzfcmd='fzf --bind "enter:execute(nvim {})"'
|
||||
bind -x '"\C-p": fzfcmd;'
|
||||
# bind -x '"\C-p": nvim $(fzf);'
|
||||
|
||||
#setup history for fzf
|
||||
|
||||
Reference in New Issue
Block a user