From 01f00c5c319b23ef5937ee56dce85710a1cd2885 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 3 May 2016 13:20:48 +0200 Subject: add cd ../.. shortcut --- config/fish/functions/cdb.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/fish/functions/cdb.fish (limited to 'config/fish/functions/cdb.fish') diff --git a/config/fish/functions/cdb.fish b/config/fish/functions/cdb.fish new file mode 100644 index 0000000..e4bb00f --- /dev/null +++ b/config/fish/functions/cdb.fish @@ -0,0 +1,5 @@ +function cdb --description 'go n direcotrys back' --argument count + for i in (seq 1 $count) + cd .. + end +end -- cgit v1.2.3