From da20efb859a01c3367d2594df35e7c9b0a0459e0 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 29 Nov 2016 18:01:40 +0530 Subject: [PATCH] fish: Fix init cd to non-existing folder --- .config/fish/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b0220ebe..1108d63d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -12,7 +12,7 @@ set -g fish_cdhist_max 128 if grep -q . $fish_cdhist_path ^ /dev/null set dirprev (cat $fish_cdhist_path) set -q dirprev[$fish_cdhist_max]; and set dirprev $dirprev[-$fish_cdhist_max..-1] - cd $dirprev[(count $dirprev)] + cd $dirprev[(count $dirprev)] ^ /dev/null end ## Run the following