diff --git a/.zshrc b/.zshrc index dfccaff..709924a 100644 --- a/.zshrc +++ b/.zshrc @@ -118,6 +118,7 @@ safe-paste docker yarn + fzf ) source $ZSH/oh-my-zsh.sh @@ -133,6 +134,12 @@ bindkey '^[[B' history-substring-search-down HISTORY_SUBSTRING_SEARCH_FUZZY=" " + # Use ~~ as the trigger sequence instead of the default ** + export FZF_COMPLETION_TRIGGER='~~' + # Options to fzf command + export FZF_COMPLETION_OPTS='+c -x' + export FZF_DEFAULT_COMMAND="fzf --preview 'head -100 {}'" + # User configuration # export MANPATH="/usr/local/man:$MANPATH" export PATH="$HOME/.local/bin:$HOME/utils/bin:$PATH" @@ -210,7 +217,7 @@ alias tprconfig="/usr/bin/git --git-dir=$utb/3semester/TPR/tasks-wip --work-tree=$utb/3semester/TPR/" - export ANDROID_HOME=$HOME/Android/Sdk + export ANDROID_HOME=$HOME/utils/Android/Sdk export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/platform-tools export ANDROID_SDK_ROOT=$ANDROID_HOME