dotfiles

Author: Kyle Fuller <kyle@fuller.li> 2020-09-23 18:28:03 +0100 +0100
Committer: Kyle Fuller <kyle@fuller.li> 2020-09-23 18:28:03 +0100 +0100
Commit: c6d1124cd64a6c83f6c9c3bc92be9bd91b21b767
Parent: 2c7aaef04c360421b7716495d8e1b93d2f7b66e8


fix(p): make p work with gnu find
diff --git a/.config/fish/functions/p.fish b/.config/fish/functions/p.fish
index 402d8d8a6e4f6d847fda40ec751ef161327176f7..dbd9595d74dc89e31a1762a66658c7e4da850a6d 100644
--- a/.config/fish/functions/p.fish
+++ b/.config/fish/functions/p.fish
@@ -1,4 +1,4 @@
 function p
   # Jump into a selected project from `~/Projects`
-  cd ~/Projects/(find ~/Projects -type d -maxdepth 2 -depth 2 -print | cut -d '/' -f5,6 | fzf -1 -q "$argv[1]")
+  cd ~/Projects/(find ~/Projects -maxdepth 2 -type d -print | cut -d '/' -f5,6 | fzf -1 -q "$argv[1]")
 end