From a42884c8d394ead95df5931987ea1ad85b3df776 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 31 Mar 2022 01:16:44 -0700 Subject: [PATCH] removed cdf, as it is now not needed --- .config/shell/functions/cdf | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .config/shell/functions/cdf diff --git a/.config/shell/functions/cdf b/.config/shell/functions/cdf deleted file mode 100644 index 158a368..0000000 --- a/.config/shell/functions/cdf +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -## DEPRICATED in favor of cds -# cds now has all the capabilities of this, and it does it all better while being easier to type and remember - -# Source this and then run `cdf` - -# cd find (interactive): cd to the containing dir of a file, or inside a folder, given part of its name -# Basically, an interactive version of what's above -# can take an `fd` command -# requires that `fzy` is installed -cdf() { - DIR="$(fd $@ | fzy)" - if [ -f "$DIR" ];then - cd "$(dirname "$DIR")" && pwd - else - cd "$DIR" && pwd - fi -}