summary refs log tree commit diff stats
path: root/user/settings/fish/functions/lk.fish
diff options
context:
space:
mode:
authorAlan Pearce2023-11-17 21:45:15 +0100
committerAlan Pearce2023-11-17 21:45:15 +0100
commitc43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f (patch)
tree3579e2cb5103804936d2b0cbefc5ca861c998e59 /user/settings/fish/functions/lk.fish
parent6205f83301ce1646c4d366be2450cbc47de25ee3 (diff)
downloadnixfiles-c43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f.tar.lz
nixfiles-c43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f.tar.zst
nixfiles-c43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f.zip
shell: replace tere with walk
Diffstat (limited to 'user/settings/fish/functions/lk.fish')
-rw-r--r--user/settings/fish/functions/lk.fish3
1 files changed, 3 insertions, 0 deletions
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