fix(bash): shell integration
This commit is contained in:
parent
c3e5986aeb
commit
9c1fc433e4
4 changed files with 24 additions and 33 deletions
|
|
@ -10,23 +10,11 @@ HISTSIZE=2000
|
|||
HISTFILESIZE=2000
|
||||
HISTCONTROL=ignoreboth:erasedups
|
||||
|
||||
alias ls='eza'
|
||||
alias l='ls --color=auto --group-directories-first'
|
||||
alias ll='l -alF'
|
||||
alias la='ll -R'
|
||||
alias g='git'
|
||||
alias nv='nvim'
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
export THEME="${THEME:-midnight}"
|
||||
export FZF_COMPLETION_TRIGGER=';'
|
||||
export FZF_TMUX=1
|
||||
|
||||
eval "$(fzf --bash)"
|
||||
eval "$(zoxide init bash)"
|
||||
eval "$(direnv hook bash)"
|
||||
eval "$(starship init bash)"
|
||||
|
||||
fzf-config-widget() {
|
||||
local file
|
||||
file="$(FZF_CTRL_T_COMMAND="fd --type file --hidden . \"$XDG_CONFIG_HOME\"/nix | sed \"s|$HOME|~|g\"" fzf --reverse)" || return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue