From d8f316f357eecdb0362b02bc60e70833234bbc50 Mon Sep 17 00:00:00 2001 From: buffet Date: Thu, 3 Jun 2021 15:04:33 +0000 Subject: [PATCH] Add fasd --- bash/.bashrc | 4 ++++ install.py | 1 + 2 files changed, 5 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index a6412ab..5c5e2a2 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -10,6 +10,7 @@ alias cd..='cd ..' alias htop='htop -t' alias mkdir='mkdir -p' alias rg='rg -S' +alias v='f -e nvim' t() { if [[ $1 ]]; then @@ -27,4 +28,7 @@ __prompt() { } PROMPT_COMMAND=__prompt +eval "$(fasd --init auto)" +_fasd_bash_hook_cmd_complete v + eval "$(direnv hook bash)" diff --git a/install.py b/install.py index f61613e..67f76b1 100644 --- a/install.py +++ b/install.py @@ -29,6 +29,7 @@ dependencies = [ 'clang', 'cups', 'curl', + 'fasd', 'firefox', 'flameshot', 'git',