From c43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 17 Nov 2023 21:45:15 +0100 Subject: shell: replace tere with walk --- user/settings/fish/functions/lk.fish | 3 +++ user/settings/fish/functions/tere.fish | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 user/settings/fish/functions/lk.fish delete mode 100644 user/settings/fish/functions/tere.fish (limited to 'user/settings/fish') diff --git a/user/settings/fish/functions/lk.fish b/user/settings/fish/functions/lk.fish new file mode 100644 index 00000000..4a73d92a --- /dev/null +++ b/user/settings/fish/functions/lk.fish @@ -0,0 +1,3 @@ +function lk + set loc (walk $argv); and cd $loc +end diff --git a/user/settings/fish/functions/tere.fish b/user/settings/fish/functions/tere.fish deleted file mode 100644 index ba5816f9..00000000 --- a/user/settings/fish/functions/tere.fish +++ /dev/null @@ -1,6 +0,0 @@ -function tere - set -f result $(command tere $argv) - if test -n $result - cd $result - end -end -- cgit 1.4.1