From a37c8c9a9b17a618d23ad93f151a557deee93ebc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 3 Dec 2018 13:34:49 -0500 Subject: [PATCH] fish fix --- .scripts/tools/shortcuts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/tools/shortcuts b/.scripts/tools/shortcuts index 93b1433..5ccb114 100755 --- a/.scripts/tools/shortcuts +++ b/.scripts/tools/shortcuts @@ -28,7 +28,7 @@ ensure "source $HOME/.config/ranger/shortcuts.conf" "$HOME/.config/ranger/rc.con # Format the `bmdirs` file in the correct syntax and sent it to all three configs. sed "s/#.*$//;/^$/d" "$bmdirs" | tee >(awk '{print $1"=\"cd "$2" && ls -a\" \\"}' >> "$shell_shortcuts") \ - >(awk '{print $1, "\"cd " $2 " ; ls -a\" \\"}' >> "$fish_shortcuts") \ + >(awk '{print $1, "\"cd " $2 "; and ls -a\" \\"}' >> "$fish_shortcuts") \ >(awk '{print "config.bind(\";"$1"\", \"set downloads.location.directory "$2" ;; hint links download\")"}' >> "$qute_shortcuts") \ | awk '{print "map g"$1" cd "$2"\nmap t"$1" tab_new "$2"\nmap m"$1" shell mv -v %s "$2"\nmap Y"$1" shell cp -rv %s "$2}' >> "$ranger_shortcuts"